From 5fcd61e9d190de4d9ca6066d688adea217bd265a Mon Sep 17 00:00:00 2001 From: kremsy Date: Thu, 8 May 2014 21:30:15 +0200 Subject: [PATCH] small fix --- application/core/Server/Server.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/core/Server/Server.php b/application/core/Server/Server.php index c211d556..f89ec379 100644 --- a/application/core/Server/Server.php +++ b/application/core/Server/Server.php @@ -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); } /**