mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Possible fix for armor crash
This commit is contained in:
parent
b776d9d5fc
commit
7efed17b74
2 changed files with 4 additions and 4 deletions
|
|
@ -413,7 +413,7 @@ class PlayerAPI{
|
|||
"z" => $this->server->spawn->z,
|
||||
),
|
||||
"inventory" => array_fill(0, PLAYER_SURVIVAL_SLOTS, array(AIR, 0, 0)),
|
||||
"armor" => array_fill(0, 4, array(AIR, 0, 0)),
|
||||
"armor" => array_fill(0, 4, array(AIR, 0)),
|
||||
"gamemode" => $this->server->gamemode,
|
||||
"health" => 20,
|
||||
"lastIP" => "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue