experimental hotbar changes (enabled by default)

This commit is contained in:
GameHerobrine 2024-08-24 16:24:34 +03:00
parent e81b2a0a1e
commit 40dfb144eb
3 changed files with 37 additions and 14 deletions

View file

@ -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{