aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gregtech
diff options
context:
space:
mode:
authorAlkalus <draknyte1@hotmail.com>2017-10-07 17:11:52 +1000
committerAlkalus <draknyte1@hotmail.com>2017-10-07 17:11:52 +1000
commit89d0c5a37a6b982d30a24350492fe8d7acb0d63c (patch)
tree5448f202d640f9d0619a0949167bf1053d24e149 /src/Java/gregtech
parented7ce97e350bbc6fc794a4b0a76902a293026373 (diff)
downloadGT5-Unofficial-89d0c5a37a6b982d30a24350492fe8d7acb0d63c.tar.gz
GT5-Unofficial-89d0c5a37a6b982d30a24350492fe8d7acb0d63c.tar.bz2
GT5-Unofficial-89d0c5a37a6b982d30a24350492fe8d7acb0d63c.zip
$ Fixed Textures further on the Industrial Centrifuge.
$ Fixed the issue where two textures would become Fusion Reactor casings. Fixed thanks to @Technus
Diffstat (limited to 'src/Java/gregtech')
-rw-r--r--src/Java/gregtech/api/enums/TAE.java9
1 files changed, 5 insertions, 4 deletions
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;
}