From 28fef6cd36cdf69d3218f7b41ee91dc941799247 Mon Sep 17 00:00:00 2001 From: ArkQuark <74979909+ArkQuark@users.noreply.github.com> Date: Mon, 7 Mar 2022 15:13:26 +0300 Subject: [PATCH] Update BlockAPI.php --- src/API/BlockAPI.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/API/BlockAPI.php b/src/API/BlockAPI.php index 503aa5d4..60b2e6e6 100755 --- a/src/API/BlockAPI.php +++ b/src/API/BlockAPI.php @@ -297,8 +297,6 @@ class BlockAPI{ if(!isset($params[2])){ $item->count = $item->getMaxStackSize(); - }elseif((!isset($params[2])) and ($item->getMaxStackSize() == 0)){ - $item->count = 64; }else{ $item->count = (int) $params[2]; }