mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-14 01:14:07 +00:00
Removed Blocks from Items subset
This commit is contained in:
1 parent
51a35585ac
commit
b20a103071
1 file changed
+7
-1
@@ -313,7 +313,13 @@ public class ItemInfo
|
||||
}
|
||||
|
||||
private static void addDefaultDropDowns() {
|
||||
API.addSubset("Items", new EverythingItemFilter());
|
||||
API.addSubset("Items", new ItemFilter()
|
||||
{
|
||||
@Override
|
||||
public boolean matches(ItemStack item) {
|
||||
return Block.getBlockFromItem(item.getItem()) == Blocks.air;
|
||||
}
|
||||
});
|
||||
API.addSubset("Blocks", new ItemFilter()
|
||||
{
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user