blob: 6a74bc811bbbe78702b7b8bf3e4a737da9303879 (
plain)
1
2
3
4
5
6
7
8
9
|
@@ -54,7 +54,7 @@
}
public void c() {
- this.b.setGoalTarget(this.e);
+ this.b.setGoalTarget(this.e, org.bukkit.event.entity.EntityTargetEvent.TargetReason.CLOSEST_ENTITY, true); // CraftBukkit - reason
super.c();
}
|