mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-05 11:27:07 +00:00
Fixed some item stack size
This commit is contained in:
parent
241a66f5d8
commit
d86c9982b3
@ -23,5 +23,6 @@ class BedItem extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
$this->block = BlockAPI::get(BED_BLOCK);
|
||||
parent::__construct(BED, 0, $count, "Bed");
|
||||
$this->maxStackSize = 1;
|
||||
}
|
||||
}
|
@ -23,5 +23,6 @@ class IronDoorItem extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
$this->block = BlockAPI::get(IRON_DOOR_BLOCK);
|
||||
parent::__construct(IRON_DOOR, 0, $count, "Iron Door");
|
||||
$this->maxStackSize = 1;
|
||||
}
|
||||
}
|
@ -23,5 +23,6 @@ class WoodenDoorItem extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
$this->block = BlockAPI::get(WOODEN_DOOR_BLOCK);
|
||||
parent::__construct(WOODEN_DOOR, 0, $count, "Wooden Door");
|
||||
$this->maxStackSize = 1;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user