From e6be78f38f85849784df44a781c49787d8933f58 Mon Sep 17 00:00:00 2001 From: bconlon Date: Sat, 26 Dec 2020 13:54:58 -0800 Subject: [PATCH] Inebriation no longer damages armor. This is consistent with 1.2.5. --- .../the_aether/entities/effects/PotionInebriation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gildedgames/the_aether/entities/effects/PotionInebriation.java b/src/main/java/com/gildedgames/the_aether/entities/effects/PotionInebriation.java index 244cb70..1798744 100644 --- a/src/main/java/com/gildedgames/the_aether/entities/effects/PotionInebriation.java +++ b/src/main/java/com/gildedgames/the_aether/entities/effects/PotionInebriation.java @@ -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)