Fix for npc vegetate.

This commit is contained in:
Jonathan Williams 2013-08-31 01:29:32 -07:00
parent e18239f89a
commit e530e3b5a8
1 changed files with 2 additions and 2 deletions

View File

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