fix: whoops

This commit is contained in:
amyavi 2024-11-01 11:29:00 -03:00
parent 85fe8525d8
commit 9e26b370dd
No known key found for this signature in database

View file

@ -149,8 +149,8 @@ public final class EntitySpawn implements Listener {
didChange = true;
}
if (spawner.getDelay() < 5000) {
spawner.setDelay(5000);
if (spawner.getDelay() < 2000) {
spawner.setDelay(2000);
didChange = true;
}
@ -159,8 +159,8 @@ public final class EntitySpawn implements Listener {
didChange = true;
}
if (spawner.getSpawnRange() > 10) {
spawner.setSpawnRange(10);
if (spawner.getSpawnRange() > 64) {
spawner.setSpawnRange(64);
didChange = true;
}