diff options
author | Richard Hendricks <richardhendricks@pobox.com> | 2018-06-05 02:42:27 -0500 |
---|---|---|
committer | Richard Hendricks <richardhendricks@pobox.com> | 2018-06-05 02:42:27 -0500 |
commit | 4ddcc361027a994a93859302322a24c6a303d6cf (patch) | |
tree | 5240e9762ea06e3ce5a4685f9ec26c7e151ff767 /src/main/java/gregtech/api/gui | |
parent | 1ba415a2c3ff0e939382da84eecce7242a6f403b (diff) | |
download | GT5-Unofficial-4ddcc361027a994a93859302322a24c6a303d6cf.tar.gz GT5-Unofficial-4ddcc361027a994a93859302322a24c6a303d6cf.tar.bz2 GT5-Unofficial-4ddcc361027a994a93859302322a24c6a303d6cf.zip |
Added option for disabling machinemetal tinting.
Diffstat (limited to 'src/main/java/gregtech/api/gui')
-rw-r--r-- | src/main/java/gregtech/api/gui/GT_GUIContainerMetaTile_Machine.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/api/gui/GT_GUIContainerMetaTile_Machine.java b/src/main/java/gregtech/api/gui/GT_GUIContainerMetaTile_Machine.java index 9cdb74c2f1..db4a070072 100644 --- a/src/main/java/gregtech/api/gui/GT_GUIContainerMetaTile_Machine.java +++ b/src/main/java/gregtech/api/gui/GT_GUIContainerMetaTile_Machine.java @@ -31,7 +31,7 @@ public class GT_GUIContainerMetaTile_Machine extends GT_GUIContainer { byte colorByte=mContainer.mTileEntity.getColorization(); Dyes color; if(colorByte != -1) color= Dyes.get(colorByte); - else color=Dyes.MACHINE_METAL; + else color=(GregTech_API.sUseMachineMetal) ? Dyes.MACHINE_METAL : Dyes.dyeWhite; // Maybe not use white here? GL11.glColor3ub((byte)color.mRGBa[0], (byte)color.mRGBa[1], (byte)color.mRGBa[2]); } else GL11.glColor3ub((byte)255,(byte)255,(byte)255); } |