From a1c82da2f242bbc5bf286f189b26009a17fea689 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 12 Sep 2021 16:03:52 +0100 Subject: [PATCH] Liquid: remove useless continue --- src/block/Liquid.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/block/Liquid.php b/src/block/Liquid.php index 999218372..74f88255b 100644 --- a/src/block/Liquid.php +++ b/src/block/Liquid.php @@ -444,7 +444,6 @@ abstract class Liquid extends Transparent{ if(!$this->canFlowInto($block)){ $this->flowCostVisited[World::blockHash($x, $y, $z)] = self::BLOCKED; - continue; }elseif($this->position->getWorld()->getBlockAt($x, $y - 1, $z)->canBeFlowedInto()){ $this->flowCostVisited[World::blockHash($x, $y, $z)] = self::CAN_FLOW_DOWN; $flowCost[$j] = $maxCost = 0;