Fix mob signs

This commit is contained in:
Daniel Saukel 2020-03-21 18:17:35 +01:00
parent f1e98aa66b
commit d6a2e38375

View File

@ -40,7 +40,7 @@ public class MobSpawnTask extends BukkitRunnable {
@Override @Override
public void run() { public void run() {
if (gameWorld == null) { if (gameWorld == null) {
cancel(); sign.deactivate();
return; return;
} }
@ -52,7 +52,7 @@ public class MobSpawnTask extends BukkitRunnable {
if (k < n) { if (k < n) {
k++; k++;
} else { } else {
cancel(); sign.deactivate();
} }
} }