mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Player: clean up handling of authentication
This commit is contained in:
@ -148,7 +148,7 @@ class VerifyLoginTask extends AsyncTask{
|
||||
if($player->isClosed()){
|
||||
$server->getLogger()->error("Player " . $player->getName() . " was disconnected before their login could be verified");
|
||||
}else{
|
||||
$player->onVerifyCompleted($this->packet, $this->error, $this->authenticated);
|
||||
$player->onVerifyCompleted($this->authenticated, $this->error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user