optimation on playerlist
This commit is contained in:
1 parent
52c6a677e4
commit
890d72d8f4
3 files changed
+41
-22
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user