Fixed missed diff in PathfinderGoalPanic.

Originally from the MC 1.8 update, broken afterwards and was no longer calling the correct method.
This commit is contained in:
blablubbabc authored and md_5 committed 2018-10-17 08:19:19 +11:00
1 parent 0adc1b9989
commit cd6252a489
1 file changed
+1 -1
+1 -1
View File
@@ -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