mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
experimental hotbar changes (enabled by default)
This commit is contained in:
parent
e81b2a0a1e
commit
40dfb144eb
3 changed files with 37 additions and 14 deletions
|
|
@ -110,7 +110,7 @@ class PlayerAPI{
|
|||
$sc = (int)$scrw;
|
||||
if($sc < 5 || $sc > 9) return "Slot count must be between 5 and 9.";
|
||||
|
||||
$issuer->slotCount = $sc;
|
||||
$issuer->setSlotCount($sc);
|
||||
$issuer->sendInventory();
|
||||
return "Changed slot count to $sc";
|
||||
}else{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue