mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
Update BlockAPI.php
This commit is contained in:
parent
d38feb9bc9
commit
28fef6cd36
1 changed files with 0 additions and 2 deletions
|
|
@ -297,8 +297,6 @@ class BlockAPI{
|
||||||
|
|
||||||
if(!isset($params[2])){
|
if(!isset($params[2])){
|
||||||
$item->count = $item->getMaxStackSize();
|
$item->count = $item->getMaxStackSize();
|
||||||
}elseif((!isset($params[2])) and ($item->getMaxStackSize() == 0)){
|
|
||||||
$item->count = 64;
|
|
||||||
}else{
|
}else{
|
||||||
$item->count = (int) $params[2];
|
$item->count = (int) $params[2];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue