-
Notifications
You must be signed in to change notification settings - Fork 203
Remove Unused Code #1581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Remove Unused Code #1581
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
| @Override | ||
| public String getCommandUsage(ICommandSender p_71518_1_) { | ||
| public String getCommandUsage(ICommandSender sender) { | ||
| return "/hazarditems <action> [<parm1>, <parm2>, ..]"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you never used the dreamcraft.command.hazarditems.usage translation and I guess you forgot to add it here
| @@ -385,37 +383,9 @@ else if ("tconstruct.smeltery.itemblocks.LavaTankItemBlock" | |||
| private Field bg2ExtraInvField; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this field is unused now
|
|
||
| private static boolean isValidPotionID(int id) { | ||
| return id < 0 || id >= Potion.potionTypes.length || Potion.potionTypes[id] == null; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it really check that the potion is valid?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cripes, forgot to invert the check.
Removed:
InventoryItem- an unused classNotificationTickHandlerfor providing achievement-like popups to the player.use_machine_metal_tintGT config, since it wasn't correctly implemented anyways and there are better ways to change the machine metal tint color.To remove in future PRs:
MinetweakerFurnaceFixto a mixin in HodgepodgeShould be merged alongside GTNewHorizons/GT-New-Horizons-Modpack#23384