mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-27 14:34:57 +01:00
9 lines
258 B
Diff
9 lines
258 B
Diff
@@ -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();
|
|
}
|
|
|