mirror of
https://github.com/craftaro/EpicSpawners.git
synced 2025-01-09 03:57:40 +08:00
Performance fix.
This commit is contained in:
parent
d6bc00c9bb
commit
7eb7b32912
@ -53,7 +53,10 @@ public class SpawnerSpawnTask extends BukkitRunnable {
|
||||
return;
|
||||
}
|
||||
|
||||
spawner.spawn();
|
||||
|
||||
if (!spawner.spawn()) {
|
||||
spawner.getCreatureSpawner().setDelay(300);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user