geforkt von SteamWar/BungeeCore
Fix more weird errors
Dieser Commit ist enthalten in:
Ursprung
7dee43c868
Commit
87efa9659d
@ -132,11 +132,11 @@ public class Mod {
|
||||
}
|
||||
|
||||
public enum ModType {
|
||||
UNKLASSIFIED(0),
|
||||
GREEN(1),
|
||||
YELLOW(2),
|
||||
RED(3),
|
||||
YOUTUBER_ONLY(4);
|
||||
UNKLASSIFIED(0,"7"),
|
||||
GREEN(1,"a"),
|
||||
YELLOW(2,"e"),
|
||||
RED(3,"c"),
|
||||
YOUTUBER_ONLY(4,"6");
|
||||
|
||||
static ModType valueOf(int value){
|
||||
for(ModType mt : values()){
|
||||
@ -146,10 +146,15 @@ public class Mod {
|
||||
throw new EnumConstantNotPresentException(ModType.class, Integer.toString(value));
|
||||
}
|
||||
|
||||
ModType(int value){
|
||||
ModType(int value,String colorcode){
|
||||
this.value = value;
|
||||
this.colorcode = colorcode;
|
||||
}
|
||||
|
||||
int value;
|
||||
String colorcode;
|
||||
|
||||
public String getColorCode() {
|
||||
return colorcode;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren