Skip to content
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

move item in hand command to GTNHlib #1051

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
125 changes: 0 additions & 125 deletions src/main/java/com/dreammaster/command/ItemInHandInfoCommand.java

This file was deleted.

7 changes: 0 additions & 7 deletions src/main/java/com/dreammaster/config/CoreModConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public CoreModConfig(File pConfigBaseDirectory, String pModCollectionDirectory,
public boolean ModHazardousItems_Enabled;
public boolean ModDebugVersionDisplay_Enabled;
public boolean ModCustomToolTips_Enabled;
public boolean ModItemInHandInfo_Enabled;
public boolean ModCustomFuels_Enabled;
public boolean ModCustomDrops_Enabled;
public boolean ModAdminErrorLogs_Enabled;
Expand Down Expand Up @@ -62,7 +61,6 @@ protected void PreInit() {
ModDebugVersionDisplay_Enabled = true;
ModHazardousItems_Enabled = false;
ModCustomToolTips_Enabled = false;
ModItemInHandInfo_Enabled = false;
ModCustomFuels_Enabled = false;
ModCustomDrops_Enabled = false;
ModAdminErrorLogs_Enabled = true;
Expand Down Expand Up @@ -122,11 +120,6 @@ protected void Init() {
"Modules",
ModCustomToolTips_Enabled,
"Set to true to enable CustomToolTips module. This needs a separate config file which is created once you start with this setting enabled");
ModItemInHandInfo_Enabled = _mainConfig.getBoolean(
"ItemInHandInfo",
"Modules",
ModItemInHandInfo_Enabled,
"Set to true to enable ItemInHandInfo module. If enabled, type /iih to display the item's name-info");
ModCustomDrops_Enabled = _mainConfig.getBoolean(
"CustomDrops",
"Modules",
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/com/dreammaster/main/MainRegistry.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
import com.dreammaster.command.CustomFuelsCommand;
import com.dreammaster.command.CustomToolTipsCommand;
import com.dreammaster.command.HazardousItemsCommand;
import com.dreammaster.command.ItemInHandInfoCommand;
import com.dreammaster.config.CoreModConfig;
import com.dreammaster.creativetab.ModTabList;
import com.dreammaster.detrav.ScannerTools;
Expand Down Expand Up @@ -560,9 +559,6 @@ public void serverLoad(FMLServerStartingEvent pEvent) {
if (CoreConfig.ModCustomToolTips_Enabled) {
pEvent.registerServerCommand(new CustomToolTipsCommand());
}
if (CoreConfig.ModItemInHandInfo_Enabled) {
pEvent.registerServerCommand(new ItemInHandInfoCommand());
}
if (CoreConfig.ModCustomFuels_Enabled) {
pEvent.registerServerCommand(new CustomFuelsCommand());
}
Expand Down