Skip to content

Conversation

@Nikolay-Sitnikov
Copy link
Contributor

@Nikolay-Sitnikov Nikolay-Sitnikov commented Jan 25, 2026

Removed:

  • "Anti-cheat" code which could be bypassed in 5 minutes
  • InventoryItem - an unused class
  • Multitudes of configs that were moved to GT5-Unofficial or other mods in the past.
  • Clean up command code to make them localized, have autocomplete, and more.
  • "Admin Error Logs", which would send a chat message to any admins if something went wrong while loading the configs on game start
  • The "All Purpose Debug Command", which does absolutely nothing useful and isn't accessible in production.
  • The unused NotificationTickHandler for providing achievement-like popups to the player.
  • Compatibility code to check the old Battlegear inventory for dangerous items.
  • Moved Avaritia Skullfire Sword fix to Avaritia repository
  • Moved "Personal Ender Chest" rename to TXLoader
  • Removed the use_machine_metal_tint GT 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:

  • Move Oil Generation mod-fix to Buildcraft repository
  • Move MinetweakerFurnaceFix to a mixin in Hodgepodge
  • Debug mode for Custom Drops

Should be merged alongside GTNewHorizons/GT-New-Horizons-Modpack#23384

@github-actions

This comment was marked as outdated.

@Dream-Master Dream-Master added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Jan 25, 2026
@Override
public String getCommandUsage(ICommandSender p_71518_1_) {
public String getCommandUsage(ICommandSender sender) {
return "/hazarditems <action> [<parm1>, <parm2>, ..]";
Copy link
Member

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;
Copy link
Member

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;
}
Copy link
Member

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?

Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants