From ac4b6548dd5a28fc3980f1d8d27b06b06f478b2b Mon Sep 17 00:00:00 2001 From: NotAPenguin Date: Sun, 6 Oct 2024 19:35:49 +0200 Subject: [PATCH] Fix the cursed chembath again (#3337) --- .../machines/multi/processing/MTEIndustrialWashPlant.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/MTEIndustrialWashPlant.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/MTEIndustrialWashPlant.java index d071076d071..bf4c1c0481d 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/MTEIndustrialWashPlant.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/MTEIndustrialWashPlant.java @@ -298,8 +298,6 @@ public boolean checkForWater() { mOffsetZ_Upper = 2; } - // if (aBaseMetaTileEntity.fac) - final int xDir = aBaseMetaTileEntity.getBackFacing().offsetX * mCurrentDirectionX; final int zDir = aBaseMetaTileEntity.getBackFacing().offsetZ * mCurrentDirectionZ; @@ -314,7 +312,6 @@ public boolean checkForWater() { for (FluidStack stored : this.getStoredFluids()) { if (stored.isFluidEqual(FluidUtils.getFluidStack("water", 1))) { if (stored.amount >= 1000) { - // Utils.LOG_WARNING("Going to try swap an air block for water from inut bus."); stored.amount -= 1000; Block fluidUsed = null; if (tBlock == Blocks.air || tBlock == Blocks.flowing_water) { @@ -336,10 +333,8 @@ public boolean checkForWater() { } if (tBlock == Blocks.water) { ++tAmount; - // Utils.LOG_WARNING("Found Water"); } else if (tBlock == BlocksItems.getFluidBlock(InternalName.fluidDistilledWater)) { ++tAmount; - // Utils.LOG_WARNING("Found Distilled Water"); } else if (Mods.COFHCore.isModLoaded()) { if (tBlock instanceof BlockWater || tBlock instanceof BlockTickingWater) { ++tAmount; @@ -349,7 +344,7 @@ public boolean checkForWater() { } } - boolean isValidWater = tAmount >= 45; + boolean isValidWater = tAmount >= 30; if (isValidWater) { Logger.WARNING("Filled structure."); } else {