From f56371af9604dff7edc680bf7cf5de62dba6b392 Mon Sep 17 00:00:00 2001 From: Omega12333 <139096495+Omega12333@users.noreply.github.com> Date: Sun, 9 Jul 2023 23:14:33 -0500 Subject: [PATCH] Changing Armor's damage reducing properties back to pre patch --- .../java/org/spongepowered/mod/util/StaticMixinForgeHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/spongepowered/mod/util/StaticMixinForgeHelper.java b/src/main/java/org/spongepowered/mod/util/StaticMixinForgeHelper.java index 74af78b32d..ed5f1a25e6 100644 --- a/src/main/java/org/spongepowered/mod/util/StaticMixinForgeHelper.java +++ b/src/main/java/org/spongepowered/mod/util/StaticMixinForgeHelper.java @@ -231,7 +231,7 @@ private static ISpecialArmor.ArmorProperties getProperties(final EntityLivingBas prop = armor.getProperties(base, armorStack, damageSource, damage, index).copy(); } else if (armorStack.getItem() instanceof ItemArmor && !damageSource.isUnblockable()) { final ItemArmor armor = (ItemArmor) armorStack.getItem(); - prop = new ISpecialArmor.ArmorProperties(0, 0, Integer.MAX_VALUE); + prop = new ISpecialArmor.ArmorProperties(0, armor.damageReduceAmount / 25D, Integer.MAX_VALUE); prop.Armor = armor.damageReduceAmount; prop.Toughness = armor.toughness; }