mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Jungle Sapling
This commit is contained in:
parent
a93798719f
commit
9105e59f2a
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ class SaplingBlock extends FlowableBlock{
|
|||
const OAK = 0;
|
||||
const SPRUCE = 1;
|
||||
const BIRCH = 2;
|
||||
const JUNGLE = 3;
|
||||
const BURN_TIME = 5;
|
||||
|
||||
public function __construct($meta = Sapling::OAK){
|
||||
|
|
@ -32,6 +33,7 @@ class SaplingBlock extends FlowableBlock{
|
|||
0 => "Oak Sapling",
|
||||
1 => "Spruce Sapling",
|
||||
2 => "Birch Sapling",
|
||||
3 => "Jungle Sapling",
|
||||
);
|
||||
$this->name = $names[$this->meta & 0x03];
|
||||
$this->hardness = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue