From 8da40906e6eb02e4538983083779d7b22be51105 Mon Sep 17 00:00:00 2001 From: Curle Date: Fri, 30 Jun 2023 06:07:06 +0100 Subject: [PATCH] smol coolant logic cleanup --- .../uk/gemwire/engage/block/coolant/CoolantBaseBlock.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/uk/gemwire/engage/block/coolant/CoolantBaseBlock.java b/src/main/java/uk/gemwire/engage/block/coolant/CoolantBaseBlock.java index d30e1cc..86623c7 100644 --- a/src/main/java/uk/gemwire/engage/block/coolant/CoolantBaseBlock.java +++ b/src/main/java/uk/gemwire/engage/block/coolant/CoolantBaseBlock.java @@ -55,7 +55,6 @@ public class CoolantBaseBlock extends Block { else if (this == Blocks.COOLANT_HEAT_SPREADER_BLOCK.block().get()) encounteredHeatSpreader = true; visitedBlocks.add(pos); - BlockPos lastPos = pos; while (dirs.size() > 1) { // Traverse the new block lastTransitionDirection = (Direction) dirs.keySet().toArray()[0]; @@ -79,13 +78,12 @@ public class CoolantBaseBlock extends Block { // Tell the system to check for another encounteredHeatSpreader = false; // Set the metering flag true - encounteredMetering = true; } else { // We're searching prematurely! // We'll search for it at the compressor instead. prematureMetering = true; - encounteredMetering = true; } + encounteredMetering = true; // The compressor has its own things to check.. } else if (reachedBlock == Blocks.COMPRESSOR_BLOCK.block().get()) { if (encounteredCompressor) {