From 89d0c5a37a6b982d30a24350492fe8d7acb0d63c Mon Sep 17 00:00:00 2001 From: Alkalus Date: Sat, 7 Oct 2017 17:11:52 +1000 Subject: $ Fixed Textures further on the Industrial Centrifuge. $ Fixed the issue where two textures would become Fusion Reactor casings. Fixed thanks to @Technus --- src/Java/gregtech/api/enums/TAE.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/Java/gregtech/api/enums') diff --git a/src/Java/gregtech/api/enums/TAE.java b/src/Java/gregtech/api/enums/TAE.java index 04a8d16ee8..c6fc8c7790 100644 --- a/src/Java/gregtech/api/enums/TAE.java +++ b/src/Java/gregtech/api/enums/TAE.java @@ -35,14 +35,15 @@ public class TAE { return true; } - public static boolean registerTextures(GT_RenderedTexture textureToRegister) { - Textures.BlockIcons.CASING_BLOCKS[gtPPLastUsedIndex++] = textureToRegister; + /*public static boolean registerTextures(GT_RenderedTexture textureToRegister) { + Textures.BlockIcons.CASING_BLOCKS[gtPPLastUsedIndex] = textureToRegister; //Just so I know registration is done. return true; - } + }*/ public static boolean registerTextures(GT_CopiedBlockTexture gt_CopiedBlockTexture) { - Textures.BlockIcons.CASING_BLOCKS[gtPPLastUsedIndex++] = gt_CopiedBlockTexture; + Textures.BlockIcons.CASING_BLOCKS[gtPPLastUsedIndex] = gt_CopiedBlockTexture; + gtPPLastUsedIndex++; //Just so I know registration is done. return true; } -- cgit