mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-23 18:45:34 +01:00
Fixed Iron Golems on 1.11-1.12.
This commit is contained in:
parent
de20a5b73c
commit
29badc823a
@ -41,7 +41,8 @@ public class SSpawnerImpl implements SSpawner {
|
|||||||
NBTTagCompound compound = data.b();
|
NBTTagCompound compound = data.b();
|
||||||
|
|
||||||
String name = type.name().toLowerCase().replace("snowman", "snow_golem")
|
String name = type.name().toLowerCase().replace("snowman", "snow_golem")
|
||||||
.replace("mushroom_cow", "mooshroom");
|
.replace("mushroom_cow", "mooshroom")
|
||||||
|
.replace("iron_golem", "villager_golem");
|
||||||
compound.setString("id", "minecraft:" + name);
|
compound.setString("id", "minecraft:" + name);
|
||||||
|
|
||||||
short spawnRange = 4;
|
short spawnRange = 4;
|
||||||
|
@ -41,7 +41,9 @@ public class SSpawnerImpl implements SSpawner {
|
|||||||
NBTTagCompound compound = data.b();
|
NBTTagCompound compound = data.b();
|
||||||
|
|
||||||
String name = type.name().toLowerCase().replace("snowman", "snow_golem")
|
String name = type.name().toLowerCase().replace("snowman", "snow_golem")
|
||||||
.replace("mushroom_cow", "mooshroom");
|
.replace("mushroom_cow", "mooshroom")
|
||||||
|
.replace("iron_golem", "villager_golem");;
|
||||||
|
|
||||||
compound.setString("id", "minecraft:" + name);
|
compound.setString("id", "minecraft:" + name);
|
||||||
|
|
||||||
short spawnRange = 4;
|
short spawnRange = 4;
|
||||||
|
Loading…
Reference in New Issue
Block a user