diff --git a/src/API/LevelAPI.php b/src/API/LevelAPI.php index 5a7665d7..383f4c48 100644 --- a/src/API/LevelAPI.php +++ b/src/API/LevelAPI.php @@ -65,7 +65,7 @@ class LevelAPI{ $this->server->saveEnabled = true; $this->saveAll(); $this->server->saveEnabled = $save; - $this->server->api->chat->broadcast("[NostalgiaCore] All data is saved."); + $this->server->api->chat->broadcast("[NostalgiaCore] All files are saved."); break; case "save-on": $this->server->saveEnabled = true; diff --git a/src/Player.php b/src/Player.php index 793d3960..e0bd6476 100755 --- a/src/Player.php +++ b/src/Player.php @@ -1033,6 +1033,10 @@ class Player{ } $inv =& $this->inventory; + if($gm === VIEW){ + $this->armor = array(); + $this->sendArmor(); + } if(($this->gamemode & 0x01) === ($gm & 0x01)){ if(($gm & 0x01) === 0x01 and ($gm & 0x02) === 0x02){ $inv = array();