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 {
|
public enum ModType {
|
||||||
UNKLASSIFIED(0),
|
UNKLASSIFIED(0,"7"),
|
||||||
GREEN(1),
|
GREEN(1,"a"),
|
||||||
YELLOW(2),
|
YELLOW(2,"e"),
|
||||||
RED(3),
|
RED(3,"c"),
|
||||||
YOUTUBER_ONLY(4);
|
YOUTUBER_ONLY(4,"6");
|
||||||
|
|
||||||
static ModType valueOf(int value){
|
static ModType valueOf(int value){
|
||||||
for(ModType mt : values()){
|
for(ModType mt : values()){
|
||||||
@ -146,10 +146,15 @@ public class Mod {
|
|||||||
throw new EnumConstantNotPresentException(ModType.class, Integer.toString(value));
|
throw new EnumConstantNotPresentException(ModType.class, Integer.toString(value));
|
||||||
}
|
}
|
||||||
|
|
||||||
ModType(int value){
|
ModType(int value,String colorcode){
|
||||||
this.value = value;
|
this.value = value;
|
||||||
|
this.colorcode = colorcode;
|
||||||
}
|
}
|
||||||
|
|
||||||
int value;
|
int value;
|
||||||
|
String colorcode;
|
||||||
|
|
||||||
|
public String getColorCode() {
|
||||||
|
return colorcode;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren