summaryrefslogtreecommitdiffstats
path: root/nms-patches/PathfinderGoalPanic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/PathfinderGoalPanic.patch')
-rw-r--r--nms-patches/PathfinderGoalPanic.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/PathfinderGoalPanic.patch b/nms-patches/PathfinderGoalPanic.patch
index 24babf0f..9b0e4a6b 100644
--- a/nms-patches/PathfinderGoalPanic.patch
+++ b/nms-patches/PathfinderGoalPanic.patch
@@ -6,7 +6,7 @@
public boolean b() {
+ // CraftBukkit start - introduce a temporary timeout hack until this is fixed properly
+ if ((this.a.ticksLived - this.a.hurtTimestamp) > 100) {
-+ this.a.a((EntityLiving) null); // PAIL setLastDamager
++ this.a.setLastDamager((EntityLiving) null);
+ return false;
+ }
+ // CraftBukkit end