From d86c9982b346c9e0c33abd19671c3c66cb2bb7c5 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Tue, 3 Sep 2013 20:33:15 +0200 Subject: [PATCH] Fixed some item stack size --- src/material/item/generic/Bed.php | 1 + src/material/item/generic/IronDoor.php | 1 + src/material/item/generic/WoodenDoor.php | 1 + 3 files changed, 3 insertions(+) diff --git a/src/material/item/generic/Bed.php b/src/material/item/generic/Bed.php index 3b0aa3bf0..8fefcec7c 100644 --- a/src/material/item/generic/Bed.php +++ b/src/material/item/generic/Bed.php @@ -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; } } \ No newline at end of file diff --git a/src/material/item/generic/IronDoor.php b/src/material/item/generic/IronDoor.php index 746ebc02c..a5d1f1074 100644 --- a/src/material/item/generic/IronDoor.php +++ b/src/material/item/generic/IronDoor.php @@ -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; } } \ No newline at end of file diff --git a/src/material/item/generic/WoodenDoor.php b/src/material/item/generic/WoodenDoor.php index ea86c0421..d7a3f95c3 100644 --- a/src/material/item/generic/WoodenDoor.php +++ b/src/material/item/generic/WoodenDoor.php @@ -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; } } \ No newline at end of file