aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorNotAPenguin <michiel.vandeginste@gmail.com>2024-10-06 19:35:49 +0200
committerGitHub <noreply@github.com>2024-10-06 19:35:49 +0200
commitac4b6548dd5a28fc3980f1d8d27b06b06f478b2b (patch)
tree319b2610608692e479004edbc113aa174045e57f /src/main/java
parentc22667bbd0980f9733bc406e7ccd11eb3b8e2dbb (diff)
downloadGT5-Unofficial-ac4b6548dd5a28fc3980f1d8d27b06b06f478b2b.tar.gz
GT5-Unofficial-ac4b6548dd5a28fc3980f1d8d27b06b06f478b2b.tar.bz2
GT5-Unofficial-ac4b6548dd5a28fc3980f1d8d27b06b06f478b2b.zip
Fix the cursed chembath again (#3337)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/MTEIndustrialWashPlant.java7
1 files changed, 1 insertions, 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 d071076d07..bf4c1c0481 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 class MTEIndustrialWashPlant extends GTPPMultiBlockBase<MTEIndustrialWash
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 class MTEIndustrialWashPlant extends GTPPMultiBlockBase<MTEIndustrialWash
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 class MTEIndustrialWashPlant extends GTPPMultiBlockBase<MTEIndustrialWash
}
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 class MTEIndustrialWashPlant extends GTPPMultiBlockBase<MTEIndustrialWash
}
}
- boolean isValidWater = tAmount >= 45;
+ boolean isValidWater = tAmount >= 30;
if (isValidWater) {
Logger.WARNING("Filled structure.");
} else {