mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
hotbar fixes
This commit is contained in:
parent
053ac5abb9
commit
a4a5f1dfdf
6 changed files with 16 additions and 9 deletions
|
|
@ -365,7 +365,7 @@ class PlayerAPI{
|
|||
"z" => $this->server->spawn->z,
|
||||
],
|
||||
"inventory" => array_fill(0, PLAYER_SURVIVAL_SLOTS, [AIR, 0, 0]),
|
||||
"hotbar" => [0, -1, -1, -1, -1, -1, -1, -1, -1],
|
||||
"hotbar" => [0, 1, 2, 3, 4, 5, 6, 7, 8],
|
||||
"armor" => array_fill(0, 4, [AIR, 0]),
|
||||
"gamemode" => $this->server->gamemode,
|
||||
"health" => 20,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue