NpcManager teleports slimes correctly
This commit is contained in:
parent
db3354176c
commit
f52a89d2ca
@ -410,7 +410,7 @@ public class NpcManager extends MiniPlugin
|
||||
((EntityInsentient) ((CraftLivingEntity) entity).getHandle()).persistent = true;
|
||||
UtilEnt.silence(entity, true);
|
||||
|
||||
if (!entity.getLocation().getChunk().isLoaded() || !(entity instanceof CraftCreature))
|
||||
if (!entity.getLocation().getChunk().isLoaded())
|
||||
continue;
|
||||
|
||||
if (!entity.isDead() && entity.isValid())
|
||||
|
Loading…
Reference in New Issue
Block a user