More fun with creative tabs fun

This commit is contained in:
Chicken-Bomes committed 2014-08-15 16:09:31 +10:00
1 parent f4b8409dfc
commit 0995fbfbdd
1 file changed
+1
+1
View File
@@ -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);