optimation on playerlist

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

No files matched your search

+2 -1
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);
}
}