Archiviert
1
0

Fix more weird errors

Dieser Commit ist enthalten in:
zOnlyKroks 2023-01-23 15:44:31 +01:00
Ursprung 7dee43c868
Commit 87efa9659d

Datei anzeigen

@ -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;
}
}
}