mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-26 15:03:10 +00:00
Hide mob spawners and save states on servers without NEI
This commit is contained in:
1 parent
6d9936f64b
commit
277c8b5cc0
3 files changed
+7
-5
No files matched your search
@@ -138,7 +138,10 @@ public class ItemMobSpawner extends ItemBlock
|
||||
|
||||
@Override
|
||||
public void getSubItems(Item item, CreativeTabs tab, List list) {
|
||||
for(int i : IDtoNameMap.keySet())
|
||||
list.add(new ItemStack(item, 1, i));
|
||||
if(!NEIClientConfig.hasSMPCounterPart())
|
||||
list.add(new ItemStack(item));
|
||||
else
|
||||
for(int i : IDtoNameMap.keySet())
|
||||
list.add(new ItemStack(item, 1, i));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user