Simple Flowable Water!

Meet the 'Flowing' Water.
This commit is contained in:
beN39sGroup (Blue Electric)
2013-11-10 17:19:50 +09:00
parent 9373c93737
commit 77ca6da14c
4 changed files with 116 additions and 7 deletions

View File

@@ -469,6 +469,12 @@ class PMFLevel extends PMF{
++$this->chunkChange[$index][$Y];
}
$this->chunkChange[$index][-1] = true;
$pos = new Position($x, $y, $z, $this->level);
for($side = 0; $side <= 5; ++$side)
{
$b = $pos->getSide($side);
ServerAPI::request()->api->block->scheduleBlockUpdate(new Position($b, 0, 0, $this->level), 10, BLOCK_UPDATE_NORMAL);
}
return true;
}
return false;