diff options
author | miozune <miozune@gmail.com> | 2022-12-28 19:16:48 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-28 11:16:48 +0100 |
commit | ca871fd068d23fee4e4d02fdc6291790c71918be (patch) | |
tree | 0fb61e6f6f630c38f6492df2afe7473ec9ccc0b8 /src/main/java/gregtech/api/metatileentity | |
parent | 196075f63a402c9742fae0801878d13adab1a3a9 (diff) | |
download | GT5-Unofficial-ca871fd068d23fee4e4d02fdc6291790c71918be.tar.gz GT5-Unofficial-ca871fd068d23fee4e4d02fdc6291790c71918be.tar.bz2 GT5-Unofficial-ca871fd068d23fee4e4d02fdc6291790c71918be.zip |
Allow resource packs to override individual progressbar textures (#1596)
* Allow resource packs to override individual progressbar textures
* spell: every + singular
* Fix potential crash on server with FallbackableSteamTexture
Diffstat (limited to 'src/main/java/gregtech/api/metatileentity')
-rw-r--r-- | src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_BasicMachine.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_BasicMachine.java b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_BasicMachine.java index cb1118a70d..bbe20b6be6 100644 --- a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_BasicMachine.java +++ b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_BasicMachine.java @@ -1341,8 +1341,8 @@ public abstract class GT_MetaTileEntity_BasicMachine extends GT_MetaTileEntity_B builder.widget(setNEITransferRect( createProgressBar( isSteampowered() - ? getRecipeList().progressBarTextureSteam.get(getSteamVariant()) - : getRecipeList().progressBarTexture, + ? getRecipeList().getProgressBarTextureSteam(getSteamVariant()) + : getRecipeList().getProgressBarTexture(), getRecipeList().getProgressBarImageSize(), getRecipeList().progressBarDirection, getRecipeList().progressBarPos, |