diff options
author | Daniel <daniel112092@gmail.com> | 2016-08-07 08:39:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-07 08:39:14 +0200 |
commit | 450bb19519b0db12d358c28ef46238eebb024f68 (patch) | |
tree | 39a9417506ba70e98e0038570678510d14626eeb /src/main/java/gregtech/api/metatileentity/implementations | |
parent | c8cca6390bc2907bd179767baba2f38ff74ee62f (diff) | |
download | GT5-Unofficial-450bb19519b0db12d358c28ef46238eebb024f68.tar.gz GT5-Unofficial-450bb19519b0db12d358c28ef46238eebb024f68.tar.bz2 GT5-Unofficial-450bb19519b0db12d358c28ef46238eebb024f68.zip |
Paintable Wires
Diffstat (limited to 'src/main/java/gregtech/api/metatileentity/implementations')
-rw-r--r-- | src/main/java/gregtech/api/metatileentity/implementations/GT_MetaPipeEntity_Cable.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaPipeEntity_Cable.java b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaPipeEntity_Cable.java index 5d7a725505..c79bca8df2 100644 --- a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaPipeEntity_Cable.java +++ b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaPipeEntity_Cable.java @@ -77,7 +77,7 @@ public class GT_MetaPipeEntity_Cable extends MetaPipeEntity implements IMetaTile @Override public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aConnections, byte aColorIndex, boolean aConnected, boolean aRedstone) { if (!mInsulated) - return new ITexture[]{new GT_RenderedTexture(mMaterial.mIconSet.mTextures[TextureSet.INDEX_wire], mMaterial.mRGBa)}; + return new ITexture[]{new GT_RenderedTexture(mMaterial.mIconSet.mTextures[TextureSet.INDEX_wire], Dyes.getModulation(aColorIndex, mMaterial.mRGBa) )}; if (aConnected) { float tThickNess = getThickNess(); if (tThickNess < 0.37F) @@ -287,4 +287,4 @@ public class GT_MetaPipeEntity_Cable extends MetaPipeEntity implements IMetaTile public void loadNBTData(NBTTagCompound aNBT) { // } -}
\ No newline at end of file +} |