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