2015-05-25 20:37:24 +10:00
|
|
|
--- a/net/minecraft/server/PathfinderGoalPanic.java
|
|
|
|
+++ b/net/minecraft/server/PathfinderGoalPanic.java
|
2016-11-17 12:41:03 +11:00
|
|
|
@@ -53,6 +53,12 @@
|
2014-11-26 08:32:16 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean b() {
|
|
|
|
+ // CraftBukkit start - introduce a temporary timeout hack until this is fixed properly
|
2017-05-14 12:00:00 +10:00
|
|
|
+ if ((this.a.ticksLived - this.a.hurtTimestamp) > 100) {
|
|
|
|
+ this.a.b((EntityLiving) null);
|
2014-11-26 08:32:16 +11:00
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ // CraftBukkit end
|
2018-07-22 12:00:00 +10:00
|
|
|
return !this.a.getNavigation().p();
|
2014-11-26 08:32:16 +11:00
|
|
|
}
|
2016-03-01 08:32:46 +11:00
|
|
|
|