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 2018-10-16 19:10:13 +02:00 committed by md_5
parent 0adc1b9989
commit cd6252a489

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