Fixed some item stack size

This commit is contained in:
Shoghi Cervantes 2013-09-03 20:33:15 +02:00
parent 241a66f5d8
commit d86c9982b3
3 changed files with 3 additions and 0 deletions

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}