Jungle Sapling

This commit is contained in:
Shoghi Cervantes 2013-11-24 15:12:14 +01:00
parent a93798719f
commit 9105e59f2a

View File

@ -23,6 +23,7 @@ class SaplingBlock extends FlowableBlock{
const OAK = 0; const OAK = 0;
const SPRUCE = 1; const SPRUCE = 1;
const BIRCH = 2; const BIRCH = 2;
const JUNGLE = 3;
const BURN_TIME = 5; const BURN_TIME = 5;
public function __construct($meta = Sapling::OAK){ public function __construct($meta = Sapling::OAK){
@ -32,6 +33,7 @@ class SaplingBlock extends FlowableBlock{
0 => "Oak Sapling", 0 => "Oak Sapling",
1 => "Spruce Sapling", 1 => "Spruce Sapling",
2 => "Birch Sapling", 2 => "Birch Sapling",
3 => "Jungle Sapling",
); );
$this->name = $names[$this->meta & 0x03]; $this->name = $names[$this->meta & 0x03];
$this->hardness = 0; $this->hardness = 0;