diff --git a/core/src/main/java/de/erethon/dungeonsxl/sign/windup/MobSpawnTask.java b/core/src/main/java/de/erethon/dungeonsxl/sign/windup/MobSpawnTask.java index 9feb7ae2..68542a7d 100644 --- a/core/src/main/java/de/erethon/dungeonsxl/sign/windup/MobSpawnTask.java +++ b/core/src/main/java/de/erethon/dungeonsxl/sign/windup/MobSpawnTask.java @@ -40,7 +40,7 @@ public class MobSpawnTask extends BukkitRunnable { @Override public void run() { if (gameWorld == null) { - cancel(); + sign.deactivate(); return; } @@ -52,7 +52,7 @@ public class MobSpawnTask extends BukkitRunnable { if (k < n) { k++; } else { - cancel(); + sign.deactivate(); } }