From 8b918a7bce69e8bfe7b634a2301d5f32e9b97402 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Mon, 24 Dec 2012 19:24:30 +0100 Subject: [PATCH] errm... fix ^^ --- classes/API/BlockAPI.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/API/BlockAPI.php b/classes/API/BlockAPI.php index b82ebf83..c7d651fc 100644 --- a/classes/API/BlockAPI.php +++ b/classes/API/BlockAPI.php @@ -371,6 +371,7 @@ class BlockAPI{ $blockDown = $this->server->api->level->getBlock($x, $y - 1, $z); $down = false; if(isset(Material::$flowable[$blockDown[0]])){ + if($down[0] !== 9){ $this->server->schedule(5, array($this, "blockScheduler"), array( "x" => $x, "y" => $y - 1, @@ -378,9 +379,8 @@ class BlockAPI{ "type" => BLOCK_UPDATE_NORMAL, )); $this->server->api->level->setBlock($x, $y - 1, $z, 8, 8); - if($down[0] !== 9){ - $down = true; - } + } + $down = true; } if(($block[1] & 0x07) < 7 and ($down === false or $block[0] === 9)){ $b0 = $this->server->api->level->getBlock($x + 1, $y, $z);