Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 13:00:06 +01:00
10 Zeilen
264 B
Diff
10 Zeilen
264 B
Diff
|
@@ -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();
|
||
|
}
|
||
|
|