small fix

This commit is contained in:
kremsy 2014-05-08 21:30:15 +02:00
parent 9d5fcca451
commit 5fcd61e9d1

View File

@ -275,10 +275,10 @@ class Server implements CallbackListener {
/**
* Get Server Player Info
*
* @return \Maniaplanet\DedicatedServer\Structures\PlayerInfo
* @return \Maniaplanet\DedicatedServer\Structures\PlayerDetailedInfo
*/
public function getInfo() {
return $this->maniaControl->client->getMainServerPlayerInfo();
return $this->maniaControl->client->getDetailedPlayerInfo($this->login);
}
/**