small improvement
This commit is contained in:
parent
7b4e4872f0
commit
cb0616db8c
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user