quick fix : Renamed catch block parameter to ignored

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent 60f7add07f
commit 3a2b50acd5
3 files changed
+4 -4

No files matched your search

@@ -130,7 +130,7 @@ public class ArmorExtended implements IInventory {
player.getAttributeMap().getAttributeInstance(SharedMonsterAttributes.maxHealth);
try {
attributeinstance.removeModifier(attributeinstance.getModifier(globalID));
} catch (Exception e) {
} catch (Exception ignored) {
}
attributeinstance.applyModifier(
new AttributeModifier(globalID, "tconstruct.heartCanister", bonusHP, 0));
@@ -145,7 +145,7 @@ public class ArmorExtended implements IInventory {
player.getAttributeMap().getAttributeInstance(SharedMonsterAttributes.maxHealth);
try {
attributeinstance.removeModifier(attributeinstance.getModifier(globalID));
} catch (Exception e) {
} catch (Exception ignored) {
}
}
}