summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityZombieVillager.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityZombieVillager.patch')
-rw-r--r--nms-patches/EntityZombieVillager.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/EntityZombieVillager.patch b/nms-patches/EntityZombieVillager.patch
index 4bddae69..247d0227 100644
--- a/nms-patches/EntityZombieVillager.patch
+++ b/nms-patches/EntityZombieVillager.patch
@@ -11,7 +11,7 @@
@@ -60,6 +61,11 @@
public void B_() {
if (!this.world.isClientSide && this.isConverting()) {
- int i = this.ds();
+ int i = this.du();
+ // CraftBukkit start - Use wall time instead of ticks for villager conversion
+ int elapsedTicks = MinecraftServer.currentTick - this.lastTick;
+ this.lastTick = MinecraftServer.currentTick;