mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-22 13:09:45 +00:00
More fun with creative tabs fun
This commit is contained in:
1 parent
f4b8409dfc
commit
0995fbfbdd
1 file changed
+1
@@ -421,6 +421,7 @@ public class ItemInfo
|
||||
API.addSubset("Items.Potions.Ingredients", potioningredients);
|
||||
|
||||
for (CreativeTabs tab : CreativeTabs.creativeTabArray) {
|
||||
if(tab.getTabIndex() >= creativeTabRanges.size()) continue;
|
||||
ItemStackSet set = creativeTabRanges.get(tab.getTabIndex());
|
||||
if (set != null && !set.isEmpty())
|
||||
API.addSubset("CreativeTabs." + I18n.format(tab.getTranslatedTabLabel()), set);
|
||||
|
||||
Reference in new issue
Block a user