13
0
geforkt von Mirrors/Paper

Remove debug message.

Dieser Commit ist enthalten in:
Jacob Martin 2016-04-23 09:49:06 -05:00
Ursprung b103841da3
Commit 78434e8910

Datei anzeigen

@ -9,7 +9,7 @@
import java.util.Random; import java.util.Random;
import java.util.Set; import java.util.Set;
import java.util.UUID; import java.util.UUID;
@@ -55,7 +57,18 @@ @@ -55,7 +57,17 @@
} }
public void setGoalTarget(EntityLiving entityliving) { public void setGoalTarget(EntityLiving entityliving) {
@ -24,12 +24,11 @@
+ return false; + return false;
+ } + }
+ entityliving = getGoalTarget(); + entityliving = getGoalTarget();
+ System.out.println(entityliving);
+ // CraftBukkit end + // CraftBukkit end
AttributeInstance attributeinstance = this.getAttributeInstance(GenericAttributes.MOVEMENT_SPEED); AttributeInstance attributeinstance = this.getAttributeInstance(GenericAttributes.MOVEMENT_SPEED);
if (entityliving == null) { if (entityliving == null) {
@@ -69,6 +82,7 @@ @@ -69,6 +81,7 @@
attributeinstance.b(EntityEnderman.b); attributeinstance.b(EntityEnderman.b);
} }
} }
@ -37,7 +36,7 @@
} }
@@ -306,8 +320,12 @@ @@ -306,8 +319,12 @@
boolean flag = movingobjectposition != null && movingobjectposition.a().equals(blockposition); boolean flag = movingobjectposition != null && movingobjectposition.a().equals(blockposition);
if (EntityEnderman.c.contains(block) && flag) { if (EntityEnderman.c.contains(block) && flag) {
@ -52,7 +51,7 @@
} }
} }
@@ -337,8 +355,12 @@ @@ -337,8 +354,12 @@
IBlockData iblockdata2 = this.a.getCarried(); IBlockData iblockdata2 = this.a.getCarried();
if (iblockdata2 != null && this.a(world, blockposition, iblockdata2.getBlock(), iblockdata, iblockdata1)) { if (iblockdata2 != null && this.a(world, blockposition, iblockdata2.getBlock(), iblockdata, iblockdata1)) {