@@ -5,11 +5,11 @@
|
||||
|
||||
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);
|
||||
+ if ((this.a.ticksLived - this.a.hurtTimestamp) > 100) {
|
||||
+ this.a.b((EntityLiving) null);
|
||||
+ return false;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
return !this.b.getNavigation().n();
|
||||
return !this.a.getNavigation().o();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user