mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-19 16:59:37 +01:00
Cleanup.
This commit is contained in:
parent
96cd16faf7
commit
d7b8ec1274
@ -461,14 +461,15 @@ public class Config extends ConfigLoader {
|
|||||||
|
|
||||||
// Setup default HUD
|
// Setup default HUD
|
||||||
String temp = config.getString("Spout.HUD.Default", "STANDARD");
|
String temp = config.getString("Spout.HUD.Default", "STANDARD");
|
||||||
|
|
||||||
for (HUDType x : HUDType.values()) {
|
for (HUDType x : HUDType.values()) {
|
||||||
if (x.toString().toLowerCase().equalsIgnoreCase(temp.toString().toLowerCase())) {
|
if (x.toString().toLowerCase().equalsIgnoreCase(temp.toString().toLowerCase())) {
|
||||||
defaulthud = x;
|
defaulthud = x;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(defaulthud == null)
|
if (defaulthud == null) {
|
||||||
defaulthud = HUDType.STANDARD;
|
defaulthud = HUDType.STANDARD;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user