mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 21:19:44 +00:00
Fixed sand getting block updates
This commit is contained in:
parent
fef0b27f7c
commit
8c190ead7f
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class GenericBlock extends Block{
|
||||||
}
|
}
|
||||||
|
|
||||||
public function onUpdate($type){
|
public function onUpdate($type){
|
||||||
if($this->hasPhysics === true){
|
if($this->hasPhysics === true and $type === BLOCK_UPDATE_NORMAL){
|
||||||
$down = $this->getSide(0);
|
$down = $this->getSide(0);
|
||||||
if($down->getID() === AIR or ($down instanceof LiquidBlock)){
|
if($down->getID() === AIR or ($down instanceof LiquidBlock)){
|
||||||
$data = array(
|
$data = array(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue