Skip to content

Commit

Permalink
Fix the cursed chembath again (#3337)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAPenguin0 authored Oct 6, 2024
1 parent c22667b commit ac4b654
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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) {
Expand All @@ -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;
Expand All @@ -349,7 +344,7 @@ public boolean checkForWater() {
}
}

boolean isValidWater = tAmount >= 45;
boolean isValidWater = tAmount >= 30;
if (isValidWater) {
Logger.WARNING("Filled structure.");
} else {
Expand Down

0 comments on commit ac4b654

Please sign in to comment.