diff options
Diffstat (limited to 'src/main/java/gregtech/api/gui/GT_GUIContainer_MaintenanceHatch.java')
-rw-r--r-- | src/main/java/gregtech/api/gui/GT_GUIContainer_MaintenanceHatch.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/gregtech/api/gui/GT_GUIContainer_MaintenanceHatch.java b/src/main/java/gregtech/api/gui/GT_GUIContainer_MaintenanceHatch.java index e1b57e2028..fe3c47fa95 100644 --- a/src/main/java/gregtech/api/gui/GT_GUIContainer_MaintenanceHatch.java +++ b/src/main/java/gregtech/api/gui/GT_GUIContainer_MaintenanceHatch.java @@ -1,6 +1,5 @@ package gregtech.api.gui; -import gregtech.api.enums.GuiColors; import gregtech.api.interfaces.tileentity.IGregTechTileEntity; import net.minecraft.entity.player.InventoryPlayer; @@ -8,8 +7,8 @@ import static gregtech.api.enums.GT_Values.RES_PATH_GUI; public class GT_GUIContainer_MaintenanceHatch extends GT_GUIContainerMetaTile_Machine { private final int - textColorTitle = GuiColors.maintenanceHatch.getColor(), - textColorRepair = GuiColors.maintenanceHatchRepair.getColor(); + textColor = this.getTextColorOrDefault("text", 0x404040), + textColorTitle = this.getTextColorOrDefault("title", 0x404040); public GT_GUIContainer_MaintenanceHatch(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity) { @@ -19,7 +18,7 @@ public class GT_GUIContainer_MaintenanceHatch extends GT_GUIContainerMetaTile_Ma @Override protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) { fontRendererObj.drawString("Maintenance Hatch", 8, 4, textColorTitle); - fontRendererObj.drawString("Click with Tool to repair.", 8, 12, textColorRepair); + fontRendererObj.drawString("Click with Tool to repair.", 8, 12, textColor); } @Override |