mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-06 10:01:53 +00:00
Player: don't save data to disk on login
this is pointless, and it will get saved on disk on quit anyway.
This commit is contained in:
parent
f0535df96d
commit
eb01dcaf60
@ -1946,9 +1946,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->namedtag->setLong("lastPlayed", (int) floor(microtime(true) * 1000));
|
$this->namedtag->setLong("lastPlayed", (int) floor(microtime(true) * 1000));
|
||||||
if($this->server->getAutoSave()){
|
|
||||||
$this->server->saveOfflinePlayerData($this->username, $this->namedtag, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->sendPlayStatus(PlayStatusPacket::LOGIN_SUCCESS);
|
$this->sendPlayStatus(PlayStatusPacket::LOGIN_SUCCESS);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user