mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Added the caseusername preference on offline player data
This commit is contained in:
parent
d613fa2138
commit
ae731c9093
2 changed files with 2 additions and 0 deletions
|
|
@ -671,6 +671,7 @@ class Player{
|
|||
if(!$this->data->exists("inventory") or $this->gamemode === CREATIVE){
|
||||
$this->data->set("inventory", $this->inventory);
|
||||
}
|
||||
$this->data->set("caseusername", $this->username);
|
||||
$this->inventory = $this->data->get("inventory");
|
||||
$this->armor = $this->data->get("armor");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue