geforkt von SteamWar/BungeeCore
Improve Color List
Dieser Commit ist enthalten in:
Ursprung
14479271cd
Commit
065ab72625
@ -45,22 +45,26 @@ public class TeamCommand extends BasicCommand {
|
|||||||
private static final List<SWListInv.SWListEntry<String>> COLOR_CODES = new ArrayList<>();
|
private static final List<SWListInv.SWListEntry<String>> COLOR_CODES = new ArrayList<>();
|
||||||
|
|
||||||
static {
|
static {
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§4", 1), "4"));
|
addColor("4", 1);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("brick", "§c"), "c"));
|
addColor("c", 15);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§6", 14), "6"));
|
addColor("6", 14);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§e", 11), "e"));
|
addColor("e", 11);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§2", 2), "2"));
|
addColor("2", 2);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§a", 10), "a"));
|
addColor("a", 10);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§b", 12), "b"));
|
addColor("b", 12);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§3", 6), "3"));
|
addColor("3", 6);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§1", 4), "1"));
|
addColor("1", 4);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§9", 6), "9"));
|
addColor("9", 6);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§d", 9), "d"));
|
addColor("d", 9);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§5", 13), "5"));
|
addColor("5", 5);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§f", 15), "f"));
|
addColor("f", 15);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§7", 7), "7"));
|
addColor("7", 7);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§8", 8), "8"));
|
addColor("8", 8);
|
||||||
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§0", 0), "0"));
|
addColor("0", 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void addColor(String color, int colorCode) {
|
||||||
|
COLOR_CODES.add(new SWListInv.SWListEntry(new SWItem("§" + color, colorCode), color));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TeamCommand() {
|
public TeamCommand() {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren