Fix ColorMode
Dieser Commit ist enthalten in:
Ursprung
0d80cba561
Commit
af49ec96d0
@ -27,28 +27,27 @@ import lombok.Getter;
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ColorMode implements Flag.Value<ColorMode> {
|
||||
WHITE(Color.WHITE),
|
||||
ORANGE(Color.ORANGE),
|
||||
MAGENTA(Color.MAGENTA),
|
||||
LIGHT_BLUE(Color.LIGHT_BLUE),
|
||||
YELLOW(Color.YELLOW),
|
||||
LIME(Color.LIME),
|
||||
PINK(Color.PINK),
|
||||
GRAY(Color.GRAY),
|
||||
LIGHT_GRAY(Color.LIGHT_GRAY),
|
||||
CYAN(Color.CYAN),
|
||||
PURPLE(Color.PURPLE),
|
||||
BLUE(Color.BLUE),
|
||||
BROWN(Color.BROWN),
|
||||
GREEN(Color.GREEN),
|
||||
RED(Color.RED),
|
||||
BLACK(Color.BLACK);
|
||||
WHITE("FLAG_COLOR_WHITE", Color.WHITE),
|
||||
ORANGE("FLAG_COLOR_ORANGE", Color.ORANGE),
|
||||
MAGENTA("FLAG_COLOR_MAGENTA", Color.MAGENTA),
|
||||
LIGHT_BLUE("FLAG_COLOR_LIGHT_BLUE", Color.LIGHT_BLUE),
|
||||
YELLOW("FLAG_COLOR_YELLOW", Color.YELLOW),
|
||||
LIME("FLAG_COLOR_LIME", Color.LIME),
|
||||
PINK("FLAG_COLOR_PINK", Color.PINK),
|
||||
GRAY("FLAG_COLOR_GRAY", Color.GRAY),
|
||||
LIGHT_GRAY("FLAG_COLOR_LIGHT_GRAY", Color.LIGHT_GRAY),
|
||||
CYAN("FLAG_COLOR_CYAN", Color.CYAN),
|
||||
PURPLE("FLAG_COLOR_PURPLE", Color.PURPLE),
|
||||
BLUE("FLAG_COLOR_BLUE", Color.BLUE),
|
||||
BROWN("FLAG_COLOR_BROWN", Color.BROWN),
|
||||
GREEN("FLAG_COLOR_GREEN", Color.GREEN),
|
||||
RED("FLAG_COLOR_RED", Color.RED),
|
||||
BLACK("FLAG_COLOR_BLACK", Color.BLACK);
|
||||
|
||||
private static ColorMode[] values;
|
||||
private final String chatValue;
|
||||
private final Color color;
|
||||
|
||||
private final String chatValue = "FLAG_COLOR_" + name();
|
||||
|
||||
@Override
|
||||
public ColorMode[] getValues() {
|
||||
if (ColorMode.values == null) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren