mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-23 00:03:48 -07:00
@@ -3,7 +3,7 @@
|
||||
@@ -41,6 +41,7 @@
|
||||
|
||||
public void setMobName(EntityTypes<?> entitytypes) {
|
||||
this.spawnData.b().setString("id", ((MinecraftKey) EntityTypes.REGISTRY.b(entitytypes)).toString());
|
||||
this.spawnData.b().setString("id", IRegistry.ENTITY_TYPE.getKey(entitytypes).toString());
|
||||
+ this.mobs.clear(); // CraftBukkit - SPIGOT-3496, MC-92282
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user