Fix deprecated spawnCreature. Fixes BUKKIT-1880
Dieser Commit ist enthalten in:
Ursprung
6093bcc445
Commit
ff09ff07f9
@ -333,7 +333,7 @@ public class CraftWorld implements World {
|
||||
|
||||
@Deprecated
|
||||
public LivingEntity spawnCreature(Location loc, EntityType creatureType) {
|
||||
Validate.isTrue(!creatureType.isAlive(), "EntityType not instance of LivingEntity");
|
||||
Validate.isTrue(creatureType.isAlive(), "EntityType not instance of LivingEntity");
|
||||
return (LivingEntity) spawnEntity(loc, creatureType);
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren