Enderman attackEntityFrom changed
Changed so that if the teleport fails upon being attacked, Endermen will take damage as normal.
This commit is contained in:
parent
4de9793ec9
commit
81ff5d7896
1 changed files with 9 additions and 0 deletions
|
@ -39,3 +39,12 @@
|
|||
this.setPosition(this.posX, this.posY, this.posZ);
|
||||
|
||||
if (this.worldObj.getCollidingBoundingBoxes(this, this.boundingBox).isEmpty() && !this.worldObj.isAnyLiquid(this.boundingBox))
|
||||
@@ -439,7 +446,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- return false;
|
||||
+ return super.attackEntityFrom(par1DamageSource, par2);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue