From b1b2efa4a5fabb06aed4d93bf3d0fcd224573c73 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sat, 19 Mar 2011 01:33:38 -0400 Subject: World.spawnCreature now returns LivingEntity instead of Creature. --- src/main/java/org/bukkit/World.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java index b465c866..e53c1f12 100644 --- a/src/main/java/org/bukkit/World.java +++ b/src/main/java/org/bukkit/World.java @@ -303,9 +303,9 @@ public interface World { * * @param loc The location to spawn the creature * @param type The creature to spawn - * @return Resulting Creature of this method, or null if it was unsuccessful + * @return Resulting LivingEntity of this method, or null if it was unsuccessful */ - public Creature spawnCreature(Location loc, CreatureType type); + public LivingEntity spawnCreature(Location loc, CreatureType type); /** * Get a list of all entities in this World -- cgit v1.2.3