From ce044783952d17f273f003fb9b2a89a23365719e Mon Sep 17 00:00:00 2001 From: Jonathan B <45127993+Crasher508@users.noreply.github.com> Date: Wed, 6 Sep 2023 09:15:27 +0200 Subject: [PATCH] Fix SmithingTableInventory size (#6035) Since 1.20 SmithingTable has a new Template slot, size is now 3 Fix debug error from InventoryManager --- src/block/inventory/SmithingTableInventory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/block/inventory/SmithingTableInventory.php b/src/block/inventory/SmithingTableInventory.php index a01b80cad..2f67ac9d2 100644 --- a/src/block/inventory/SmithingTableInventory.php +++ b/src/block/inventory/SmithingTableInventory.php @@ -32,6 +32,6 @@ final class SmithingTableInventory extends SimpleInventory implements BlockInven public function __construct(Position $holder){ $this->holder = $holder; - parent::__construct(2); + parent::__construct(3); } }