diff options
author | Blood-Asp <bloodasphendrik@gmail.com> | 2016-08-10 20:22:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-10 20:22:47 +0200 |
commit | b3bd42ba8cd4a785230be7f5a1693b4dc2375b7e (patch) | |
tree | 2e6fcf71b65084b03c64c25ffe7ef1d8ea13c9ab /src/main/java/gregtech | |
parent | fb73e62dc70119362922d9060d120c0311c25a37 (diff) | |
parent | 450bb19519b0db12d358c28ef46238eebb024f68 (diff) | |
download | GT5-Unofficial-b3bd42ba8cd4a785230be7f5a1693b4dc2375b7e.tar.gz GT5-Unofficial-b3bd42ba8cd4a785230be7f5a1693b4dc2375b7e.tar.bz2 GT5-Unofficial-b3bd42ba8cd4a785230be7f5a1693b4dc2375b7e.zip |
Merge pull request #594 from Technus/experimental
Paintable Wires
Diffstat (limited to 'src/main/java/gregtech')
-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 +} |