small improvement

This commit is contained in:
kremsy 2014-02-09 09:50:07 +01:00 committed by Steffen Schröder
parent 7b4e4872f0
commit cb0616db8c

View File

@ -296,6 +296,10 @@ class ServerRankingPlugin implements Plugin, CallbackListener, CommandListener {
$this->resetRanks(); $this->resetRanks();
foreach($this->maniaControl->playerManager->getPlayers() as $player) { foreach($this->maniaControl->playerManager->getPlayers() as $player) {
/** @var Player $player */
if ($player->isFakePlayer()) {
continue;
}
$this->showRank($player); $this->showRank($player);
$this->showNextRank($player); $this->showNextRank($player);
} }