mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:34:44 +01:00
10 lines
258 B
Diff
10 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();
|
||
|
}
|
||
|
|