mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
Added the caseusername preference on offline player data
This commit is contained in:
@@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user