Update BlockAPI.php

This commit is contained in:
ArkQuark 2022-03-07 15:13:26 +03:00
parent d38feb9bc9
commit 28fef6cd36

View file

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