diff options
author | DreamMasterXXL <dream-master@gmx.net> | 2021-05-22 23:29:54 +0200 |
---|---|---|
committer | DreamMasterXXL <dream-master@gmx.net> | 2021-05-22 23:29:54 +0200 |
commit | 1348c9b6c919607847d714929ecfa826d3903223 (patch) | |
tree | d765afd1b3a704da47645c4f9e46e6cbdc1fddfe | |
parent | c5d0f448ec866b6ff86f3a78f41328b4293be637 (diff) | |
download | GT5-Unofficial-1348c9b6c919607847d714929ecfa826d3903223.tar.gz GT5-Unofficial-1348c9b6c919607847d714929ecfa826d3903223.tar.bz2 GT5-Unofficial-1348c9b6c919607847d714929ecfa826d3903223.zip |
fix(texture): deprecated use of CASING_BLOCKS
Update to GTNH's Gregtech
-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 |