mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-10-25 20:22:26 +00:00
Hide debug items from NEI (#18)
This commit is contained in:
1 parent
405a4e5376
commit
da18fefdf5
3 files changed
+7
-2
No files matched your search
+1
-1
@@ -1,3 +1,3 @@
|
||||
dependencies {
|
||||
implementation("com.github.GTNewHorizons:NotEnoughItems:2.8.0-GTNH:dev")
|
||||
implementation("com.github.GTNewHorizons:NotEnoughItems:2.8.16-GTNH:dev")
|
||||
}
|
||||
+1
-1
@@ -17,7 +17,7 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.43'
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.44'
|
||||
}
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@ package baubles.common;
|
||||
import java.io.File;
|
||||
|
||||
import baubles.Tags;
|
||||
import codechicken.nei.api.API;
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
||||
@@ -64,6 +66,9 @@ public class Baubles {
|
||||
NetworkRegistry.INSTANCE.registerGuiHandler(instance, proxy);
|
||||
proxy.registerKeyBindings();
|
||||
GameRegistry.registerItem(itemDebugger, "bauble_slot_debug_tool", Baubles.MODID);
|
||||
if (BaublesConfig.hideDebugItem && Loader.isModLoaded("NotEnoughItems")){
|
||||
API.hideItem("bauble_slot_debug_tool");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user