Skip to content

Commit

Permalink
move item in hand command to GTNHlib
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexdoru committed Oct 21, 2024
1 parent 88e1518 commit 50b13d6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 136 deletions.
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

0 comments on commit 50b13d6

Please sign in to comment.