This commit is contained in:
Raoul Van den Berge
2016-07-19 14:52:21 +02:00
parent 80e4a6500b
commit 432e37f000
2 changed files with 5 additions and 3 deletions

View File

@@ -34,11 +34,9 @@ public final class RefinedStorage {
public final SimpleNetworkWrapper network = NetworkRegistry.INSTANCE.newSimpleChannel(ID); public final SimpleNetworkWrapper network = NetworkRegistry.INSTANCE.newSimpleChannel(ID);
public final CreativeTabs tab = new CreativeTabs(ID) { public final CreativeTabs tab = new CreativeTabs(ID) {
private ItemStack icon = new ItemStack(RefinedStorageItems.STORAGE_HOUSING);
@Override @Override
public ItemStack getIconItemStack() { public ItemStack getIconItemStack() {
return icon; return new ItemStack(RefinedStorageItems.STORAGE_HOUSING);
} }
@Override @Override

View File

@@ -128,8 +128,12 @@ public class GuiGrid extends GuiBase {
if (grid.getViewType() == TileGrid.VIEW_TYPE_NON_CRAFTABLES && stack.isCraftable()) { if (grid.getViewType() == TileGrid.VIEW_TYPE_NON_CRAFTABLES && stack.isCraftable()) {
t.remove(); t.remove();
continue;
} else if (grid.getViewType() == TileGrid.VIEW_TYPE_CRAFTABLES && !stack.isCraftable()) { } else if (grid.getViewType() == TileGrid.VIEW_TYPE_CRAFTABLES && !stack.isCraftable()) {
t.remove(); t.remove();
continue;
} }
if (query.startsWith("@")) { if (query.startsWith("@")) {