2015-02-26 23:41:06 +01:00
|
|
|
--- /home/matt/mc-dev-private//net/minecraft/server/PathfinderGoalOwnerHurtByTarget.java 2015-02-26 22:40:22.959608135 +0000
|
|
|
|
+++ src/main/java/net/minecraft/server/PathfinderGoalOwnerHurtByTarget.java 2015-02-26 22:40:22.959608135 +0000
|
2014-11-25 22:32:16 +01:00
|
|
|
@@ -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) {
|