From bb4ae3b3b8a36a90a6ac29746c5b6cb1351fc772 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 8 Jun 2017 18:00:00 +1000 Subject: Update to Minecraft 1.12 --- nms-patches/PathfinderGoalHurtByTarget.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nms-patches/PathfinderGoalHurtByTarget.patch') diff --git a/nms-patches/PathfinderGoalHurtByTarget.patch b/nms-patches/PathfinderGoalHurtByTarget.patch index 97a47f7f..bd1581bb 100644 --- a/nms-patches/PathfinderGoalHurtByTarget.patch +++ b/nms-patches/PathfinderGoalHurtByTarget.patch @@ -7,7 +7,7 @@ - this.e.setGoalTarget(this.e.getLastDamager()); + this.e.setGoalTarget(this.e.getLastDamager(), org.bukkit.event.entity.EntityTargetEvent.TargetReason.TARGET_ATTACKED_ENTITY, true); // CraftBukkit - reason this.g = this.e.getGoalTarget(); - this.b = this.e.bR(); + this.b = this.e.bT(); this.h = 300; @@ -66,6 +66,6 @@ } -- cgit v1.2.3