mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-24 22:14:32 +00:00
Enderman attackEntityFrom changed
Changed so that if the teleport fails upon being attacked, Endermen will take damage as normal.
This commit is contained in:
1 parent
4de9793ec9
commit
81ff5d7896
1 file changed
+9
@@ -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
|
||||
{
|
||||
Reference in new issue
Block a user