diff --git a/src/pocketmine/block/Liquid.php b/src/pocketmine/block/Liquid.php index 4837278d4..6ce560c0c 100644 --- a/src/pocketmine/block/Liquid.php +++ b/src/pocketmine/block/Liquid.php @@ -438,6 +438,6 @@ abstract class Liquid extends Transparent{ } protected function canFlowInto(Block $block) : bool{ - return $block->canBeFlowedInto() and !($block instanceof Liquid and $block->isSource()); //TODO: I think this should only be liquids of the same type + return $this->level->isInWorld($block->x, $block->y, $block->z) and $block->canBeFlowedInto() and !($block instanceof Liquid and $block->isSource()); //TODO: I think this should only be liquids of the same type } }