Possible fix for armor crash

This commit is contained in:
Shoghi Cervantes
2013-07-04 23:33:56 +02:00
parent b776d9d5fc
commit 7efed17b74
2 changed files with 4 additions and 4 deletions

View File

@ -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" => "",