mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
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:
parent
0adc1b9989
commit
cd6252a489
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
public boolean b() {
|
public boolean b() {
|
||||||
+ // CraftBukkit start - introduce a temporary timeout hack until this is fixed properly
|
+ // CraftBukkit start - introduce a temporary timeout hack until this is fixed properly
|
||||||
+ if ((this.a.ticksLived - this.a.hurtTimestamp) > 100) {
|
+ if ((this.a.ticksLived - this.a.hurtTimestamp) > 100) {
|
||||||
+ this.a.b((EntityLiving) null);
|
+ this.a.a((EntityLiving) null); // PAIL setLastDamager
|
||||||
+ return false;
|
+ return false;
|
||||||
+ }
|
+ }
|
||||||
+ // CraftBukkit end
|
+ // CraftBukkit end
|
||||||
|
|
Loading…
Reference in a new issue