mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-10 04:41:42 +01:00
10 lines
259 B
Diff
10 lines
259 B
Diff
|
@@ -48,7 +48,7 @@
|
||
|
}
|
||
|
|
||
|
public void c() {
|
||
|
- this.e.setGoalTarget(this.d);
|
||
|
+ this.e.setGoalTarget(this.d, org.bukkit.event.entity.EntityTargetEvent.TargetReason.CLOSEST_PLAYER, true); // Craftbukkit - reason
|
||
|
super.c();
|
||
|
}
|
||
|
}
|