SteamWar/BungeeCore
Archiviert
13
2

Fix more weird errors
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

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