Fix for npc vegetate.
This commit is contained in:
parent
e18239f89a
commit
e530e3b5a8
@ -263,9 +263,9 @@ public class NpcManager extends MiniPlugin
|
||||
entry.Entity = entity;
|
||||
_npcs.put(entity.getUniqueId().toString(), entry);
|
||||
|
||||
if (entry.Radius == 0 && entity instanceof CraftCreature)
|
||||
if (entry.Radius == 0 )
|
||||
{
|
||||
UtilEnt.Vegetate((org.bukkit.entity.Creature)entry.Entity);
|
||||
UtilEnt.Vegetate(entry.Entity);
|
||||
}
|
||||
|
||||
if (save)
|
||||
|
Loading…
Reference in New Issue
Block a user