mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Fixed some item stack size
This commit is contained in:
parent
241a66f5d8
commit
d86c9982b3
3 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue