mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Fixed some items not keeping meta when constructed, close #968
This commit is contained in:
@ -28,7 +28,7 @@ use pocketmine\block\Block;
|
||||
class WoodenDoor extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
$this->block = Block::get(Item::WOODEN_DOOR_BLOCK);
|
||||
parent::__construct(self::WOODEN_DOOR, 0, $count, "Wooden Door");
|
||||
parent::__construct(self::WOODEN_DOOR, $meta, $count, "Wooden Door");
|
||||
}
|
||||
|
||||
public function getMaxStackSize(){
|
||||
|
Reference in New Issue
Block a user