aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gregtech/api/enums
diff options
context:
space:
mode:
authorLéa Gris <lea.gris@noiraude.net>2021-05-22 18:54:47 +0200
committerLéa Gris <lea.gris@noiraude.net>2021-05-22 18:54:47 +0200
commitb1205fea1e84317a1dc6f6e7c3015c92836c4def (patch)
treefb0b0ecd4ccc7d6d22fcaeb7d2990609007eaef8 /src/Java/gregtech/api/enums
parentebf13f3192316fe6ed7951efafc3c38591825d61 (diff)
downloadGT5-Unofficial-b1205fea1e84317a1dc6f6e7c3015c92836c4def.tar.gz
GT5-Unofficial-b1205fea1e84317a1dc6f6e7c3015c92836c4def.tar.bz2
GT5-Unofficial-b1205fea1e84317a1dc6f6e7c3015c92836c4def.zip
fix(texture): deprecated use of CASING_BLOCKS
Update to GTNH's Gregtech
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){