quick fix : Renamed catch block parameter to ignored

This commit is contained in:
Alexdoru committed 2023-01-25 22:39:21 +01:00
1 parent 4dc089061c
commit 8b4f56b7fd
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
}