diff options
author | md_5 <git@md-5.net> | 2017-05-30 21:25:59 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-05-30 21:55:13 +1000 |
commit | e13d1196863d5dcfea3d17b79238427dfb2c61b2 (patch) | |
tree | 56220ee8c2b98066fddfce1f7239a6f3e6261187 /nms-patches/EntityZombieVillager.patch | |
parent | c155d8dd32556a197ab73c437760e6194ae4e04a (diff) | |
download | craftbukkit-e13d1196863d5dcfea3d17b79238427dfb2c61b2.tar craftbukkit-e13d1196863d5dcfea3d17b79238427dfb2c61b2.tar.gz craftbukkit-e13d1196863d5dcfea3d17b79238427dfb2c61b2.tar.lz craftbukkit-e13d1196863d5dcfea3d17b79238427dfb2c61b2.tar.xz craftbukkit-e13d1196863d5dcfea3d17b79238427dfb2c61b2.zip |
Update to Minecraft 1.12-pre6
Diffstat (limited to 'nms-patches/EntityZombieVillager.patch')
-rw-r--r-- | nms-patches/EntityZombieVillager.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/EntityZombieVillager.patch b/nms-patches/EntityZombieVillager.patch index e8b6e11d..4bddae69 100644 --- a/nms-patches/EntityZombieVillager.patch +++ b/nms-patches/EntityZombieVillager.patch @@ -26,6 +26,6 @@ - this.world.addEntity(entityvillager); + this.world.addEntity(entityvillager, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.CURED); // CraftBukkit - add SpawnReason - EntityHuman entityhuman = this.world.b(this.by); + if (this.by != null) { + EntityHuman entityhuman = this.world.b(this.by); - if (entityhuman instanceof EntityPlayer) { |