This commit is contained in:
GJ 2012-05-23 07:33:19 -04:00
parent 96cd16faf7
commit d7b8ec1274

View File

@ -461,14 +461,15 @@ public class Config extends ConfigLoader {
// Setup default HUD
String temp = config.getString("Spout.HUD.Default", "STANDARD");
for (HUDType x : HUDType.values()) {
if (x.toString().toLowerCase().equalsIgnoreCase(temp.toString().toLowerCase())) {
defaulthud = x;
}
}
if(defaulthud == null)
if (defaulthud == null) {
defaulthud = HUDType.STANDARD;
}
}
}