Make types look nicer

This commit is contained in:
TheComputerGeek2
2017-03-06 11:23:03 -08:00
parent c4bb41333a
commit 8ad812bea6
3 changed files with 60 additions and 57 deletions

View File

@@ -79,13 +79,16 @@ public class TypeFaction extends TypeAbstract<Faction>
@Override
public Collection<String> getTabList(CommandSender sender, String arg)
{
// Create
Set<String> ret = new TreeSet<String>(ComparatorCaseInsensitive.get());
// Fill
for (Faction faction : FactionColl.get().getAll())
{
ret.add(ChatColor.stripColor(faction.getName()));
}
// Return
return ret;
}