diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 4ca351a3..3e009c67 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -347,7 +347,7 @@ public class CraftWorld implements World { try { EntityLiving entityCreature = (EntityLiving) EntityTypes.a(creatureType.getName(), world); entityCreature.a(loc.getX(), loc.getY(), loc.getZ()); - creature = (Creature) CraftEntity.getEntity(server, entityCreature); + creature = (LivingEntity) CraftEntity.getEntity(server, entityCreature); world.a(entityCreature); } catch (Exception e) { // if we fail, for any reason, return null. |