diff options
author | blablubbabc <lukas@wirsindwir.de> | 2018-10-16 19:10:13 +0200 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-10-17 08:19:19 +1100 |
commit | cd6252a489602757af7fd55eb7d665f1100eb778 (patch) | |
tree | 78fc908d1b1ba0d2a3dad81e4757da99863d58ab | |
parent | 0adc1b9989216c97b36642780d777a6adb63d20c (diff) | |
download | craftbukkit-cd6252a489602757af7fd55eb7d665f1100eb778.tar craftbukkit-cd6252a489602757af7fd55eb7d665f1100eb778.tar.gz craftbukkit-cd6252a489602757af7fd55eb7d665f1100eb778.tar.lz craftbukkit-cd6252a489602757af7fd55eb7d665f1100eb778.tar.xz craftbukkit-cd6252a489602757af7fd55eb7d665f1100eb778.zip |
Fixed missed diff in PathfinderGoalPanic.
Originally from the MC 1.8 update, broken afterwards and was no longer calling the correct method.
-rw-r--r-- | nms-patches/PathfinderGoalPanic.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/PathfinderGoalPanic.patch b/nms-patches/PathfinderGoalPanic.patch index 0d5ec285..24babf0f 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.b((EntityLiving) null); ++ this.a.a((EntityLiving) null); // PAIL setLastDamager + return false; + } + // CraftBukkit end |