diff options
Diffstat (limited to 'nms-patches/PathfinderGoalTarget.patch')
-rw-r--r-- | nms-patches/PathfinderGoalTarget.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nms-patches/PathfinderGoalTarget.patch b/nms-patches/PathfinderGoalTarget.patch index 6aade4c9..acab1523 100644 --- a/nms-patches/PathfinderGoalTarget.patch +++ b/nms-patches/PathfinderGoalTarget.patch @@ -1,14 +1,14 @@ --- a/net/minecraft/server/PathfinderGoalTarget.java +++ b/net/minecraft/server/PathfinderGoalTarget.java -@@ -1,5 +1,7 @@ +@@ -1,6 +1,7 @@ package net.minecraft.server; -+import org.bukkit.event.entity.EntityTargetEvent; -+ + import javax.annotation.Nullable; ++import org.bukkit.event.entity.EntityTargetEvent; // CraftBukkit + public abstract class PathfinderGoalTarget extends PathfinderGoal { - protected final EntityCreature e; -@@ -56,7 +58,7 @@ +@@ -58,7 +59,7 @@ if (entityliving instanceof EntityHuman && ((EntityHuman) entityliving).abilities.isInvulnerable) { return false; } else { @@ -17,7 +17,7 @@ return true; } } -@@ -77,7 +79,7 @@ +@@ -79,7 +80,7 @@ } public void d() { |