3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 21:10:10 +01:00

Fix deprecated spawnCreature. Fixes BUKKIT-1880

Dieser Commit ist enthalten in:
Wesley Wolfe 2012-07-02 15:36:49 -05:00
Ursprung 6093bcc445
Commit ff09ff07f9

Datei anzeigen

@ -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);
}