Bugfixes
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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("@")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user