diff options
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) { |