diff options
author | Léa Gris <lea.gris@noiraude.net> | 2021-05-22 23:33:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-22 23:33:06 +0200 |
commit | ea92dae55a958a95629b5d00b406e616ee7f4dfe (patch) | |
tree | 01ba2077db0cc7552dff2180a96b57420abca416 /src/main/java/GoodGenerator/Blocks/TEs | |
parent | 77f97abfe3da71f0966d3f7977151e6715f0d2ba (diff) | |
parent | e1e18b69fcec10d389e40934b19737854ca06cbc (diff) | |
download | GT5-Unofficial-ea92dae55a958a95629b5d00b406e616ee7f4dfe.tar.gz GT5-Unofficial-ea92dae55a958a95629b5d00b406e616ee7f4dfe.tar.bz2 GT5-Unofficial-ea92dae55a958a95629b5d00b406e616ee7f4dfe.zip |
Merge pull request #4 from GTNewHorizons/fix_CASING_BLOCKS
Fix casing blocks
Diffstat (limited to 'src/main/java/GoodGenerator/Blocks/TEs')
-rw-r--r-- | src/main/java/GoodGenerator/Blocks/TEs/MultiNqGenerator.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/GoodGenerator/Blocks/TEs/MultiNqGenerator.java b/src/main/java/GoodGenerator/Blocks/TEs/MultiNqGenerator.java index 6742e7c229..eaa711a3a0 100644 --- a/src/main/java/GoodGenerator/Blocks/TEs/MultiNqGenerator.java +++ b/src/main/java/GoodGenerator/Blocks/TEs/MultiNqGenerator.java @@ -390,10 +390,10 @@ public class MultiNqGenerator extends GT_MetaTileEntity_MultiblockBase_EM implem @SuppressWarnings("ALL") public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) { if(aSide == aFacing){ - if(aActive) return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[44],new GT_RenderedTexture(Textures.BlockIcons.NAQUADAH_REACTOR_SOLID_FRONT_ACTIVE)}; - return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[44],new GT_RenderedTexture(Textures.BlockIcons.NAQUADAH_REACTOR_SOLID_FRONT)}; + if(aActive) return new ITexture[]{Textures.BlockIcons.getCasingTextureForId(44),new GT_RenderedTexture(Textures.BlockIcons.NAQUADAH_REACTOR_SOLID_FRONT_ACTIVE)}; + return new ITexture[]{Textures.BlockIcons.getCasingTextureForId(44),new GT_RenderedTexture(Textures.BlockIcons.NAQUADAH_REACTOR_SOLID_FRONT)}; } - return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[44]}; + return new ITexture[]{Textures.BlockIcons.getCasingTextureForId(44)}; } @Override |