diff --git a/src/main/java/techreborn/client/gui/GuiBase.java b/src/main/java/techreborn/client/gui/GuiBase.java index d5c228359..318ba5e67 100644 --- a/src/main/java/techreborn/client/gui/GuiBase.java +++ b/src/main/java/techreborn/client/gui/GuiBase.java @@ -183,7 +183,7 @@ public class GuiBase extends GuiContainer { GlStateManager.disableLighting(); GlStateManager.color(1, 1, 1, 1); } - if (builder.isInRect(guiLeft - 19, guiTop + 92 - offset + 27, 12, 12, mouseX, mouseY) && getMachine().hasSlotConfig()) { + if (builder.isInRect(guiLeft - 19, guiTop + 92 - offset + 27, 12, 12, mouseX, mouseY) && getMachine().showTankConfig()) { List list = new ArrayList<>(); list.add("Configure Fluids"); GuiUtils.drawHoveringText(list, mouseX - guiLeft , mouseY - guiTop , width, height, -1, mc.fontRenderer); @@ -274,7 +274,7 @@ public class GuiBase extends GuiContainer { GuiSlotConfiguration.reset(); } } - if(isPointInRegion(-26, 84 - offset + 27, 30, 30, mouseX, mouseY) && getMachine().hasSlotConfig()){ + if(isPointInRegion(-26, 84 - offset + 27, 30, 30, mouseX, mouseY) && getMachine().showTankConfig()){ if(slotConfigType != SlotConfigType.FLUIDS){ slotConfigType = SlotConfigType.FLUIDS; } else {