diff --git a/core/src/main/java/de/erethon/dungeonsxl/sign/windup/MobSign.java b/core/src/main/java/de/erethon/dungeonsxl/sign/windup/MobSign.java index 592f29d8..e1a51ff6 100644 --- a/core/src/main/java/de/erethon/dungeonsxl/sign/windup/MobSign.java +++ b/core/src/main/java/de/erethon/dungeonsxl/sign/windup/MobSign.java @@ -151,6 +151,10 @@ public class MobSign extends Windup { } } + if (spawned == null) { + return null; + } + spawned.setRemoveWhenFarAway(false); spawnedMobs.add(spawned); return spawned;