aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gregtech/api/enums
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java/gregtech/api/enums')
-rw-r--r--src/Java/gregtech/api/enums/TAE.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Java/gregtech/api/enums/TAE.java b/src/Java/gregtech/api/enums/TAE.java
index 82ae7a3f52..550051a731 100644
--- a/src/Java/gregtech/api/enums/TAE.java
+++ b/src/Java/gregtech/api/enums/TAE.java
@@ -112,10 +112,10 @@ public class TAE {
public static ITexture getTexture(int index){
if (gtPPLastUsedIndex >= 128) {
if (CORE.MAIN_GREGTECH_5U_EXPERIMENTAL_FORK && Utils.getGregtechSubVersion() > 30) {
- return Textures.BlockIcons.CASING_BLOCKS[((64*128)+index)];
+ return Textures.BlockIcons.getCasingTextureForId(((64*128)+index));
}
}
- return Textures.BlockIcons.CASING_BLOCKS[(64+index)];
+ return Textures.BlockIcons.getCasingTextureForId((64+index));
}
public static int GTPP_INDEX(int ID){