mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Player: fixed getLastPlayed() being useless
this should only be set on quit, not on join.
This commit is contained in:
parent
d4d57aa9ea
commit
b9d3bd22a3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user