mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-24 19:45:43 +01:00
Fix mob sign NPE; resolves #807
This commit is contained in:
parent
bd1d76b531
commit
4350eb8556
@ -151,6 +151,10 @@ public class MobSign extends Windup {
|
||||
}
|
||||
}
|
||||
|
||||
if (spawned == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
spawned.setRemoveWhenFarAway(false);
|
||||
spawnedMobs.add(spawned);
|
||||
return spawned;
|
||||
|
Loading…
Reference in New Issue
Block a user