mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Added trees to teh SuperflatGenerator
This commit is contained in:
parent
3c4d4f5cff
commit
e81d68c8d0
8 changed files with 46 additions and 30 deletions
|
|
@ -54,7 +54,7 @@ class SaplingBlock extends TransparentBlock{
|
|||
|
||||
public function onActivate(Item $item, Player $player){
|
||||
if($item->getID() === DYE and $item->getMetadata() === 0x0F){ //Bonemeal
|
||||
TreeObject::growTree($this->level, $this);
|
||||
TreeObject::growTree($this->level, $this, $this->meta);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue