mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-10-26 14:33:50 +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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user