diff options
author | Léa Gris <lea.gris@noiraude.net> | 2021-05-22 18:54:47 +0200 |
---|---|---|
committer | Léa Gris <lea.gris@noiraude.net> | 2021-05-22 18:54:47 +0200 |
commit | b1205fea1e84317a1dc6f6e7c3015c92836c4def (patch) | |
tree | fb0b0ecd4ccc7d6d22fcaeb7d2990609007eaef8 /src/Java/gregtech/api/enums | |
parent | ebf13f3192316fe6ed7951efafc3c38591825d61 (diff) | |
download | GT5-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.java | 4 |
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){ |