summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/EntityZombieVillager.patch7
1 files changed, 5 insertions, 2 deletions
diff --git a/nms-patches/EntityZombieVillager.patch b/nms-patches/EntityZombieVillager.patch
index 247d0227..2b8d7cdd 100644
--- a/nms-patches/EntityZombieVillager.patch
+++ b/nms-patches/EntityZombieVillager.patch
@@ -8,9 +8,12 @@
public EntityZombieVillager(World world) {
super(world);
-@@ -60,6 +61,11 @@
+@@ -58,8 +59,13 @@
+ }
+
public void B_() {
- if (!this.world.isClientSide && this.isConverting()) {
+- if (!this.world.isClientSide && this.isConverting()) {
++ if (!this.world.isClientSide && this.isConverting() && this.isAlive()) { // CraftBukkit
int i = this.du();
+ // CraftBukkit start - Use wall time instead of ticks for villager conversion
+ int elapsedTicks = MinecraftServer.currentTick - this.lastTick;