optimation on playerlist

This commit is contained in:
kremsy
2013-12-26 17:27:21 +01:00
parent 52c6a677e4
commit 890d72d8f4
3 changed files with 41 additions and 22 deletions

View File

@ -224,6 +224,7 @@ class PlayerCommands implements CommandListener {
* @param Player $player
*/
public function command_playerList(array $chatCallback, Player $player) {
$this->playerList->showPlayerList($player);
$this->playerList->addPlayerToShownList($player, PlayerList::SHOWN_MAIN_WINDOW);
$this->playerList->showPlayerList($player);
}
}