From cb0616db8cc279b83d1770a2dc11e9278faebbd5 Mon Sep 17 00:00:00 2001 From: kremsy Date: Sun, 9 Feb 2014 09:50:07 +0100 Subject: [PATCH] small improvement --- application/plugins/ServerRanking.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/plugins/ServerRanking.php b/application/plugins/ServerRanking.php index 65c3456b..9d3cd3cb 100644 --- a/application/plugins/ServerRanking.php +++ b/application/plugins/ServerRanking.php @@ -296,6 +296,10 @@ class ServerRankingPlugin implements Plugin, CallbackListener, CommandListener { $this->resetRanks(); foreach($this->maniaControl->playerManager->getPlayers() as $player) { + /** @var Player $player */ + if ($player->isFakePlayer()) { + continue; + } $this->showRank($player); $this->showNextRank($player); }