diff options
Diffstat (limited to 'nms-patches/EntityZombieVillager.patch')
-rw-r--r-- | nms-patches/EntityZombieVillager.patch | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nms-patches/EntityZombieVillager.patch b/nms-patches/EntityZombieVillager.patch index b04cbf5f..adbd9da4 100644 --- a/nms-patches/EntityZombieVillager.patch +++ b/nms-patches/EntityZombieVillager.patch @@ -8,9 +8,12 @@ public EntityZombieVillager(World world) { super(EntityTypes.ZOMBIE_VILLAGER, world); -@@ -56,6 +57,11 @@ +@@ -54,8 +55,13 @@ + } + public void tick() { - if (!this.world.isClientSide && this.isConverting()) { +- if (!this.world.isClientSide && this.isConverting()) { ++ if (!this.world.isClientSide && this.isConverting() && this.isAlive()) { // CraftBukkit int i = this.dK(); + // CraftBukkit start - Use wall time instead of ticks for villager conversion + int elapsedTicks = MinecraftServer.currentTick - this.lastTick; |