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) {
}
}
}
@@ -84,7 +84,7 @@ public class TabRegistry {
return 60;
}
}
} catch (Exception e) {
} catch (Exception ignored) {
}
} else {
// If NEI is not installed, offset the tabs
@@ -1435,7 +1435,7 @@ public class TinkerTools {
1.1F,
1.2f,
0xf3414f);
} catch (Exception e) {
} catch (Exception ignored) {
} // No need to handle
}