mirror of
https://github.com/JonasunderscoreJones/nicer-skies.git
synced 2025-10-22 19:29:18 +02:00
change: remove unused method
This commit is contained in:
parent
f21f5b7b2a
commit
3c8a7412c8
1 changed files with 0 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue