13
0
geforkt von Mirrors/Paper
Paper/paper-server/nms-patches/PathfinderGoalOwnerHurtByTarget.patch
CraftBukkit/Spigot a8ddf37419 Remove patch headers
By: GunfighterJ <joseph.jenniges@gmail.com>
2014-11-28 16:54:14 -06:00

10 Zeilen
331 B
Diff

@@ -30,7 +30,7 @@
}
public void c() {
- this.e.setGoalTarget(this.b);
+ this.e.setGoalTarget(this.b, org.bukkit.event.entity.EntityTargetEvent.TargetReason.TARGET_ATTACKED_OWNER, true); // CraftBukkit - reason
EntityLiving entityliving = this.a.getOwner();
if (entityliving != null) {