mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 05:34:54 +00:00
Fixed sand getting block updates
This commit is contained in:
parent
fef0b27f7c
commit
8c190ead7f
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user