From c3744695d549abed37207ccddb311ca7472aface Mon Sep 17 00:00:00 2001 From: Alkalus <3060479+draknyte1@users.noreply.github.com> Date: Tue, 7 Apr 2020 11:46:28 +0100 Subject: [PATCH] Added a missing bracket & missing imports. I assume @bartimaeusnek did this in the web editor? --- .../GT_MetaTileEntity_BasicMachine_GT_Recipe.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_BasicMachine_GT_Recipe.java b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_BasicMachine_GT_Recipe.java index c7032144..2162d5cf 100644 --- a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_BasicMachine_GT_Recipe.java +++ b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_BasicMachine_GT_Recipe.java @@ -21,6 +21,8 @@ import net.minecraftforge.fluids.FluidStack; import java.util.Locale; import java.util.Random; +import cpw.mods.fml.common.Loader; + import static gregtech.api.enums.GT_Values.V; import static gregtech.api.enums.GT_Values.W; @@ -72,13 +74,13 @@ public class GT_MetaTileEntity_BasicMachine_GT_Recipe extends GT_MetaTileEntity_ } if (aRecipe[i] == X.GLASS) { - if (Loader.isModLoaded("bartworks"){ + if (Loader.isModLoaded("bartworks")){ if (mTier>=8) - aRecipe[i] = "blockGlass"+VN[8]; + aRecipe[i] = "blockGlass"+GT_Values.VN[8]; else if (mTier < 3) - aRecipe[i] = "blockGlass"+VN[3]; + aRecipe[i] = "blockGlass"+GT_Values.VN[3]; else - aRecipe[i] = "blockGlass"+VN[mTier]; + aRecipe[i] = "blockGlass"+GT_Values.VN[mTier]; continue; } else {