Performance fix.

This commit is contained in:
Brianna O'Keefe 2019-01-21 20:09:55 -05:00
parent d6bc00c9bb
commit 7eb7b32912

View File

@ -53,7 +53,10 @@ public class SpawnerSpawnTask extends BukkitRunnable {
return;
}
spawner.spawn();
if (!spawner.spawn()) {
spawner.getCreatureSpawner().setDelay(300);
}
}
}