summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityEnderman.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityEnderman.patch')
-rw-r--r--nms-patches/EntityEnderman.patch9
1 files changed, 4 insertions, 5 deletions
diff --git a/nms-patches/EntityEnderman.patch b/nms-patches/EntityEnderman.patch
index a48336b7..7f11f0a9 100644
--- a/nms-patches/EntityEnderman.patch
+++ b/nms-patches/EntityEnderman.patch
@@ -9,7 +9,7 @@
import java.util.Random;
import java.util.Set;
import java.util.UUID;
-@@ -55,7 +57,18 @@
+@@ -55,7 +57,17 @@
}
public void setGoalTarget(EntityLiving entityliving) {
@@ -24,12 +24,11 @@
+ return false;
+ }
+ entityliving = getGoalTarget();
-+ System.out.println(entityliving);
+ // CraftBukkit end
AttributeInstance attributeinstance = this.getAttributeInstance(GenericAttributes.MOVEMENT_SPEED);
if (entityliving == null) {
-@@ -69,6 +82,7 @@
+@@ -69,6 +81,7 @@
attributeinstance.b(EntityEnderman.b);
}
}
@@ -37,7 +36,7 @@
}
-@@ -306,8 +320,12 @@
+@@ -306,8 +319,12 @@
boolean flag = movingobjectposition != null && movingobjectposition.a().equals(blockposition);
if (EntityEnderman.c.contains(block) && flag) {
@@ -52,7 +51,7 @@
}
}
-@@ -337,8 +355,12 @@
+@@ -337,8 +354,12 @@
IBlockData iblockdata2 = this.a.getCarried();
if (iblockdata2 != null && this.a(world, blockposition, iblockdata2.getBlock(), iblockdata, iblockdata1)) {