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:
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);
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren