mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-20 05:14:20 +00: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();
|
||
|
}
|
||
|
|