From 26df37e6ef5ee0671a5b2634194cc38356b07b19 Mon Sep 17 00:00:00 2001 From: ipad54 <63200545+ipad54@users.noreply.github.com> Date: Fri, 20 May 2022 18:57:48 +0300 Subject: [PATCH] Minecart: fixed max stack size to match vanilla (#5051) --- src/item/Minecart.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/item/Minecart.php b/src/item/Minecart.php index 59e47b98a..2b18ca25b 100644 --- a/src/item/Minecart.php +++ b/src/item/Minecart.php @@ -25,5 +25,9 @@ namespace pocketmine\item; class Minecart extends Item{ + public function getMaxStackSize() : int{ + return 1; + } + //TODO }