Patrone.cc-src-skid-me/toothless/server/nms-patches/PathfinderGoalPanic.patch
disclearing 4f52c57848 MEME ME :heart
FUCK PUTTYEXE
2019-06-19 04:50:21 +01:00

16 lines
484 B
Diff

--- a/net/minecraft/server/PathfinderGoalPanic.java
+++ b/net/minecraft/server/PathfinderGoalPanic.java
@@ -36,6 +36,12 @@
}
public boolean b() {
+ // CraftBukkit start - introduce a temporary timeout hack until this is fixed properly
+ if ((this.b.ticksLived - this.b.hurtTimestamp) > 100) {
+ this.b.b((EntityLiving) null);
+ return false;
+ }
+ // CraftBukkit end
return !this.b.getNavigation().m();
}
}