small fix
This commit is contained in:
parent
4bdf9d558a
commit
b6de851d20
@ -561,7 +561,8 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
|
|||||||
foreach($this->playersListShown as $login => $shown){
|
foreach($this->playersListShown as $login => $shown){
|
||||||
if($shown == true){
|
if($shown == true){
|
||||||
$player = $this->maniaControl->playerManager->getPlayer($login);
|
$player = $this->maniaControl->playerManager->getPlayer($login);
|
||||||
$this->showPlayerList($player);
|
if($player != null)
|
||||||
|
$this->showPlayerList($player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user