mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-27 15:33:03 +00:00
quick fix : Renamed catch block parameter to ignored
This commit is contained in:
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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user