diff options
author | md_5 <git@md-5.net> | 2016-11-17 12:41:03 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-11-17 12:41:03 +1100 |
commit | c25ddf063a808e3adb749e22017661f403c5fb7e (patch) | |
tree | b2efcff512be12fd3e38cf8c36386148ce6ab4ae /nms-patches/PathfinderGoalTempt.patch | |
parent | 51263e97187a84338f89698eef187284055a682a (diff) | |
download | craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.tar craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.tar.gz craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.tar.lz craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.tar.xz craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.zip |
Update to Minecraft 1.11
Diffstat (limited to 'nms-patches/PathfinderGoalTempt.patch')
-rw-r--r-- | nms-patches/PathfinderGoalTempt.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nms-patches/PathfinderGoalTempt.patch b/nms-patches/PathfinderGoalTempt.patch index d59fc830..df8f4dcb 100644 --- a/nms-patches/PathfinderGoalTempt.patch +++ b/nms-patches/PathfinderGoalTempt.patch @@ -1,9 +1,9 @@ --- a/net/minecraft/server/PathfinderGoalTempt.java +++ b/net/minecraft/server/PathfinderGoalTempt.java -@@ -3,6 +3,12 @@ +@@ -2,6 +2,12 @@ + import com.google.common.collect.Sets; import java.util.Set; - import javax.annotation.Nullable; +// CraftBukkit start +import org.bukkit.craftbukkit.entity.CraftLivingEntity; +import org.bukkit.craftbukkit.event.CraftEventFactory; @@ -13,7 +13,7 @@ public class PathfinderGoalTempt extends PathfinderGoal { -@@ -13,7 +19,7 @@ +@@ -12,7 +18,7 @@ private double e; private double f; private double g; @@ -22,7 +22,7 @@ private int i; private boolean j; private final Set<Item> k; -@@ -40,7 +46,18 @@ +@@ -39,7 +45,18 @@ return false; } else { this.h = this.a.world.findNearbyPlayer(this.a, 10.0D); |