Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 05:20:07 +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
|
@Deprecated
|
||||||
public LivingEntity spawnCreature(Location loc, EntityType creatureType) {
|
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);
|
return (LivingEntity) spawnEntity(loc, creatureType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren