From ae9f2fb195205f2ed57f16f6816f144ab91a9177 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 19 Mar 2011 01:33:38 -0400 Subject: [PATCH] World.spawnCreature now returns LivingEntity instead of Creature. By: Celtic Minstrel --- paper-api/src/main/java/org/bukkit/World.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index b465c8669b..e53c1f12e1 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/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