added skylight and light into chunk data, revert if any major problems will occur

This commit is contained in:
GameHerobrine 2023-03-07 10:58:47 +03:00
parent fc154cf903
commit b6da664236
5 changed files with 41 additions and 34 deletions

View file

@ -28,7 +28,7 @@ class GrassBlock extends SolidBlock{
else $player->setSlot($player->slot, $item, true);
}
$this->level->setBlock($this, new FarmlandBlock());
$this->seedsDrop();
//$this->seedsDrop();
return true;
}
return false;
@ -53,4 +53,4 @@ class GrassBlock extends SolidBlock{
}
return BLOCK_UPDATE_RANDOM;
}
}
}