Player: clean up handling of authentication

This commit is contained in:
Dylan K. Taylor
2018-07-27 18:04:13 +01:00
parent f3cf64c2cf
commit 7541a6070f
2 changed files with 17 additions and 16 deletions

View File

@ -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);
}
}
}