@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user