aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0030-Allow-nerfed-mobs-to-jump.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2024-07-18 16:50:16 +0200
committerNassim Jahnke <[email protected]>2024-07-18 18:15:13 +0200
commita8db5274493f3bf6c91c8bc9d4a3618a02ba5500 (patch)
tree117f005d0e84f51bcdaeedf55bf7fd6cb3766932 /patches/server/0030-Allow-nerfed-mobs-to-jump.patch
parent3c8a7fe1a4a7e348106795ca44529ff6d2005234 (diff)
downloadPaper-a8db5274493f3bf6c91c8bc9d4a3618a02ba5500.tar.gz
Paper-a8db5274493f3bf6c91c8bc9d4a3618a02ba5500.zip
Even more cleanup of mcutil patch
Diffstat (limited to 'patches/server/0030-Allow-nerfed-mobs-to-jump.patch')
-rw-r--r--patches/server/0030-Allow-nerfed-mobs-to-jump.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0030-Allow-nerfed-mobs-to-jump.patch b/patches/server/0030-Allow-nerfed-mobs-to-jump.patch
index 1c95173e39..a43842f5bc 100644
--- a/patches/server/0030-Allow-nerfed-mobs-to-jump.patch
+++ b/patches/server/0030-Allow-nerfed-mobs-to-jump.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] Allow nerfed mobs to jump
diff --git a/src/main/java/net/minecraft/world/entity/Mob.java b/src/main/java/net/minecraft/world/entity/Mob.java
-index fcc8b66702f761c443fb647a8ab6e1ab49e5acfe..bf905bc1c4918412e3c324a62d2915b57c40d2cc 100644
+index 930b5002aa6eaa1137314f7b38fad99778b6edaa..0593d828c911c94c9833bf12b9c294e5dac1f4e8 100644
--- a/src/main/java/net/minecraft/world/entity/Mob.java
+++ b/src/main/java/net/minecraft/world/entity/Mob.java
@@ -124,6 +124,7 @@ public abstract class Mob extends LivingEntity implements EquipmentUser, Leashab
@@ -16,7 +16,7 @@ index fcc8b66702f761c443fb647a8ab6e1ab49e5acfe..bf905bc1c4918412e3c324a62d2915b5
public GoalSelector targetSelector;
@Nullable
private LivingEntity target;
-@@ -890,7 +891,15 @@ public abstract class Mob extends LivingEntity implements EquipmentUser, Leashab
+@@ -888,7 +889,15 @@ public abstract class Mob extends LivingEntity implements EquipmentUser, Leashab
@Override
protected final void serverAiStep() {
++this.noActionTime;