From 1348c9b6c919607847d714929ecfa826d3903223 Mon Sep 17 00:00:00 2001 From: DreamMasterXXL Date: Sat, 22 May 2021 23:29:54 +0200 Subject: fix(texture): deprecated use of CASING_BLOCKS Update to GTNH's Gregtech --- src/main/java/GoodGenerator/Blocks/TEs/MultiNqGenerator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main') 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 -- cgit