aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gregtech/api
diff options
context:
space:
mode:
authorLéa Gris <lea.gris@noiraude.net>2021-05-22 19:18:57 +0200
committerLéa Gris <lea.gris@noiraude.net>2021-05-22 19:18:57 +0200
commitb7997cd0a7faa68c3b4e68a4596e91709b9a9dd1 (patch)
treec3b58bf7ee842c5fb0e2aa25f96b5731e9673d9d /src/Java/gregtech/api
parentb1205fea1e84317a1dc6f6e7c3015c92836c4def (diff)
downloadGT5-Unofficial-b7997cd0a7faa68c3b4e68a4596e91709b9a9dd1.tar.gz
GT5-Unofficial-b7997cd0a7faa68c3b4e68a4596e91709b9a9dd1.tar.bz2
GT5-Unofficial-b7997cd0a7faa68c3b4e68a4596e91709b9a9dd1.zip
fix(textures): TAE still used deprecated CASING_BLOCKS
Diffstat (limited to 'src/Java/gregtech/api')
-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 550051a731..e8fd31d89e 100644
--- a/src/Java/gregtech/api/enums/TAE.java
+++ b/src/Java/gregtech/api/enums/TAE.java
@@ -70,7 +70,7 @@ public class TAE {
}
Logger.INFO("Finalising TAE.");
for (int aKeyTae : mTAE.keySet()) {
- Textures.BlockIcons.CASING_BLOCKS[aKeyTae] = mTAE.get(aKeyTae);
+ Textures.BlockIcons.setCasingTextureForId(aKeyTae, mTAE.get(aKeyTae));
}
Logger.INFO("Finalised TAE.");
}
@@ -96,7 +96,7 @@ public class TAE {
//set to page 1.
else {
- Textures.BlockIcons.CASING_BLOCKS[gtPPLastUsedIndex] = gt_CopiedBlockTexture;
+ Textures.BlockIcons.setCasingTextureForId(gtPPLastUsedIndex, gt_CopiedBlockTexture);
Logger.INFO("[TAE} Registered Texture with ID "+(gtPPLastUsedIndex)+" in main index.");
gtPPLastUsedIndex++;
return true;