mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-20 12:09:59 +00:00
Made a slight adjustment to the debug item
This commit is contained in:
1 parent
32600f753a
commit
cd8ed243ae
2 files changed
+3
-5
No files matched your search
@@ -29,7 +29,7 @@ public class BaublesConfig {
|
||||
String[] currentSlotAssignments = BaubleExpandedSlots.getCurrentSlotAssignments();
|
||||
|
||||
//categoryDebug
|
||||
hideDebugItem = config.getBoolean("hideDebugItem", categoryDebug, hideDebugItem, "Hide the Bauble debug item from creative tabs and NEI.\n");
|
||||
hideDebugItem = config.getBoolean("hideDebugItem", categoryDebug, hideDebugItem, "Hide the Bauble debug item from creative tabs.\n");
|
||||
|
||||
//categoryMenu
|
||||
showUnusedSlots = config.getBoolean("showUnusedSlots", categoryMenu, showUnusedSlots, "Display unused Bauble slots.\n");
|
||||
|
||||
@@ -45,11 +45,9 @@ public class ItemDebugger extends Item implements IBaubleExpanded {
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public void getSubItems(Item item, CreativeTabs tab, List list) {
|
||||
if(!BaublesConfig.hideDebugItem) {
|
||||
for(int i = 0; i < icons.length; i++) {
|
||||
list.add(new ItemStack(this, 1, i));
|
||||
}
|
||||
}
|
||||
list.add(new ItemStack(this, 1, i));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user