Inebriation no longer damages armor. This is consistent with 1.2.5.

This commit is contained in:
bconlon 2020-12-26 13:54:58 -08:00
parent 244bf0dc5d
commit e6be78f38f
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public class PotionInebriation extends Potion
if (this.duration % 50 == 0)
{
entityLivingBaseIn.attackEntityFrom(new DamageSource("inebriation"), 1.0F);
entityLivingBaseIn.attackEntityFrom(new DamageSource("inebriation").setDamageBypassesArmor(), 1.0F);
}
if (entityLivingBaseIn instanceof EntityPlayer)