Player: fixed getLastPlayed() being useless

this should only be set on quit, not on join.
This commit is contained in:
Dylan K. Taylor 2018-03-31 10:44:59 +01:00
parent d4d57aa9ea
commit b9d3bd22a3

View File

@ -2009,8 +2009,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
$this->achievements[$achievement->getName()] = $achievement->getValue() !== 0;
}
$this->namedtag->setLong("lastPlayed", (int) floor(microtime(true) * 1000));
$this->sendPlayStatus(PlayStatusPacket::LOGIN_SUCCESS);
$this->loggedIn = true;