mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
added skylight and light into chunk data, revert if any major problems will occur
This commit is contained in:
parent
fc154cf903
commit
b6da664236
5 changed files with 41 additions and 34 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue