change: remove unused method

This commit is contained in:
ZtereoHYPE 2022-12-11 23:44:19 +01:00
parent f21f5b7b2a
commit 3c8a7412c8

View file

@ -12,14 +12,4 @@ public enum NebulaType {
public String getTypeString() {
return type;
}
// bad?
public static NebulaType getFromString(String type) {
for (NebulaType nebulaType : NebulaType.values()) {
if (nebulaType.getTypeString().equals(type)) {
return nebulaType;
}
}
return null;
}
}