From eb01dcaf60b2fc98c5ce4434252c0a607fe73182 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 27 Feb 2018 12:26:30 +0000 Subject: [PATCH] Player: don't save data to disk on login this is pointless, and it will get saved on disk on quit anyway. --- src/pocketmine/Player.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 3c44f8a62..86dc3a3d9 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -1946,9 +1946,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{ } $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);