Actually alphabetize players - thanks @Grooohm for the good spot!

This commit is contained in:
md_5 2013-03-12 16:56:09 +11:00
parent 92c1450909
commit e2f134ec08

View File

@ -2,6 +2,7 @@ package net.md_5.bungee.command;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.CommandSender;
@ -40,6 +41,7 @@ public class CommandList extends Command
{
players.add( player.getDisplayName() );
}
Collections.sort( players );
if ( !players.isEmpty() )
{