@@ -16,21 +16,21 @@
|
||||
+ }
|
||||
+ entityliving = getGoalTarget();
|
||||
+ // CraftBukkit end
|
||||
AttributeInstance attributeinstance = this.getAttributeInstance(GenericAttributes.MOVEMENT_SPEED);
|
||||
AttributeModifiable attributemodifiable = this.getAttributeInstance(GenericAttributes.MOVEMENT_SPEED);
|
||||
|
||||
if (entityliving == null) {
|
||||
@@ -67,6 +77,7 @@
|
||||
attributeinstance.addModifier(EntityEnderman.c);
|
||||
attributemodifiable.b(EntityEnderman.c);
|
||||
}
|
||||
}
|
||||
+ return true;
|
||||
|
||||
}
|
||||
|
||||
@@ -323,8 +334,12 @@
|
||||
@@ -360,8 +371,12 @@
|
||||
boolean flag = movingobjectpositionblock.getBlockPosition().equals(blockposition);
|
||||
|
||||
if (block.a(TagsBlock.ENDERMAN_HOLDABLE) && flag) {
|
||||
if (block.a((Tag) TagsBlock.ENDERMAN_HOLDABLE) && flag) {
|
||||
- this.enderman.setCarried(iblockdata);
|
||||
- world.a(blockposition, false);
|
||||
+ // CraftBukkit start - Pickup event
|
||||
@@ -42,7 +42,7 @@
|
||||
}
|
||||
|
||||
}
|
||||
@@ -357,8 +372,12 @@
|
||||
@@ -394,8 +409,12 @@
|
||||
IBlockData iblockdata2 = this.a.getCarried();
|
||||
|
||||
if (iblockdata2 != null && this.a(world, blockposition, iblockdata2, iblockdata, iblockdata1, blockposition1)) {
|
||||
|
||||
Reference in New Issue
Block a user