Inebriation no longer damages armor. This is consistent with 1.2.5.
This commit is contained in:
parent
244bf0dc5d
commit
e6be78f38f
|
@ -49,7 +49,7 @@ public class PotionInebriation extends Potion
|
||||||
|
|
||||||
if (this.duration % 50 == 0)
|
if (this.duration % 50 == 0)
|
||||||
{
|
{
|
||||||
entityLivingBaseIn.attackEntityFrom(new DamageSource("inebriation"), 1.0F);
|
entityLivingBaseIn.attackEntityFrom(new DamageSource("inebriation").setDamageBypassesArmor(), 1.0F);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entityLivingBaseIn instanceof EntityPlayer)
|
if (entityLivingBaseIn instanceof EntityPlayer)
|
||||||
|
|
Loading…
Reference in a new issue