mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
Liquid: remove useless continue
This commit is contained in:
@ -444,7 +444,6 @@ abstract class Liquid extends Transparent{
|
|||||||
|
|
||||||
if(!$this->canFlowInto($block)){
|
if(!$this->canFlowInto($block)){
|
||||||
$this->flowCostVisited[World::blockHash($x, $y, $z)] = self::BLOCKED;
|
$this->flowCostVisited[World::blockHash($x, $y, $z)] = self::BLOCKED;
|
||||||
continue;
|
|
||||||
}elseif($this->position->getWorld()->getBlockAt($x, $y - 1, $z)->canBeFlowedInto()){
|
}elseif($this->position->getWorld()->getBlockAt($x, $y - 1, $z)->canBeFlowedInto()){
|
||||||
$this->flowCostVisited[World::blockHash($x, $y, $z)] = self::CAN_FLOW_DOWN;
|
$this->flowCostVisited[World::blockHash($x, $y, $z)] = self::CAN_FLOW_DOWN;
|
||||||
$flowCost[$j] = $maxCost = 0;
|
$flowCost[$j] = $maxCost = 0;
|
||||||
|
Reference in New Issue
Block a user