Liquid: remove useless continue

This commit is contained in:
Dylan K. Taylor 2021-09-12 16:03:52 +01:00
parent 84170ad3e1
commit a1c82da2f2
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -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;