Added items and blocks removed glowstone in air bug

This commit is contained in:
ArkQuark 2022-03-06 19:36:31 +03:00
parent e1ea7022fa
commit 56d0ab5e76
73 changed files with 1685 additions and 213 deletions

2
src/API/BlockAPI.php Normal file → Executable file
View file

@ -297,6 +297,8 @@ 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];
}