mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 09:17:36 +01:00
World.spawnCreature now returns LivingEntity instead of Creature.
By: Celtic Minstrel <celtic.minstrel.ca@>
This commit is contained in:
parent
6269963857
commit
ae9f2fb195
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user