NpcManager teleports slimes correctly

This commit is contained in:
CoderTim 2014-10-20 18:19:19 -04:00
parent db3354176c
commit f52a89d2ca

View File

@ -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())