mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Fixed Acacia / Dark Oak logs crafting recipes
This commit is contained in:
parent
49977c5410
commit
05ac256cc3
@ -23,14 +23,18 @@ namespace pocketmine\block;
|
||||
|
||||
|
||||
class Wood2 extends Wood{
|
||||
|
||||
const ACACIA = 0;
|
||||
const DARK_OAK = 1;
|
||||
|
||||
public function __construct($meta = 0){
|
||||
Solid::__construct(self::WOOD2, $meta, "Wood");
|
||||
$names = [
|
||||
0 => "Acacia Wood",
|
||||
1 => "Dark Oak Wood"
|
||||
1 => "Dark Oak Wood",
|
||||
2 => ""
|
||||
];
|
||||
$this->name = $names[$this->meta & 0x03];
|
||||
$this->hardness = 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user