small fix
This commit is contained in:
parent
9d5fcca451
commit
5fcd61e9d1
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user