Fix mob sign NPE; resolves #807

This commit is contained in:
Daniel Saukel 2020-06-23 18:53:32 +02:00
parent bd1d76b531
commit 4350eb8556

View File

@ -151,6 +151,10 @@ public class MobSign extends Windup {
}
}
if (spawned == null) {
return null;
}
spawned.setRemoveWhenFarAway(false);
spawnedMobs.add(spawned);
return spawned;