summaryrefslogtreecommitdiffstats
path: root/nms-patches/WorldGenVillagePieces.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/WorldGenVillagePieces.patch')
-rw-r--r--nms-patches/WorldGenVillagePieces.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/WorldGenVillagePieces.patch b/nms-patches/WorldGenVillagePieces.patch
index 6f5ae761..7a3e2c53 100644
--- a/nms-patches/WorldGenVillagePieces.patch
+++ b/nms-patches/WorldGenVillagePieces.patch
@@ -29,7 +29,7 @@
@@ -1672,14 +1672,14 @@
entityzombievillager.prepare(world.D(new BlockPosition(entityzombievillager)), (GroupDataEntity) null);
entityzombievillager.setProfession(this.c(i1, 0));
- entityzombievillager.cS();
+ entityzombievillager.cU();
- world.addEntity(entityzombievillager);
+ world.addEntity(entityzombievillager, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.CHUNK_GEN); // CraftBukkit - add SpawnReason
} else {