@@ -8,7 +8,7 @@
|
||||
|
||||
public abstract class PathfinderGoalTarget extends PathfinderGoal {
|
||||
|
||||
@@ -58,7 +59,7 @@
|
||||
@@ -59,7 +60,7 @@
|
||||
if (entityliving instanceof EntityHuman && ((EntityHuman) entityliving).abilities.isInvulnerable) {
|
||||
return false;
|
||||
} else {
|
||||
@@ -17,9 +17,9 @@
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -79,7 +80,7 @@
|
||||
}
|
||||
@@ -82,7 +83,7 @@
|
||||
|
||||
@Override
|
||||
public void d() {
|
||||
- this.e.setGoalTarget((EntityLiving) null);
|
||||
+ this.e.setGoalTarget((EntityLiving) null, EntityTargetEvent.TargetReason.FORGOT_TARGET, true); // CraftBukkit
|
||||
|
||||
Reference in New Issue
Block a user