Fixed sand getting block updates

This commit is contained in:
Shoghi Cervantes 2013-06-09 18:52:56 +02:00
parent fef0b27f7c
commit 8c190ead7f

View File

@ -43,7 +43,7 @@ class GenericBlock extends Block{
}
public function onUpdate($type){
if($this->hasPhysics === true){
if($this->hasPhysics === true and $type === BLOCK_UPDATE_NORMAL){
$down = $this->getSide(0);
if($down->getID() === AIR or ($down instanceof LiquidBlock)){
$data = array(