World.spawnCreature now returns LivingEntity instead of Creature.

This commit is contained in:
Celtic Minstrel
2011-03-19 01:33:38 -04:00
committed by Erik Broes
parent 0cf9d0a7d6
commit 8b58b44d2c

View File

@@ -303,9 +303,9 @@ public interface World {
* *
* @param loc The location to spawn the creature * @param loc The location to spawn the creature
* @param type The creature to spawn * @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 * Get a list of all entities in this World