mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Making HUD a bit more friendly
This commit is contained in:
@ -5,7 +5,7 @@ import com.gmail.nossr50.datatypes.HUDType;
|
||||
|
||||
public class Config extends ConfigLoader {
|
||||
public int xpGainMultiplier = 1;
|
||||
private static volatile Config instance;
|
||||
private static Config instance;
|
||||
|
||||
public static Config getInstance() {
|
||||
if (instance == null) {
|
||||
@ -351,7 +351,7 @@ public class Config extends ConfigLoader {
|
||||
String temp = config.getString("Spout.HUD.Default", "STANDARD");
|
||||
|
||||
for (HUDType x : HUDType.values()) {
|
||||
if (x.toString().equalsIgnoreCase(temp)) {
|
||||
if (x.toString().toLowerCase().equalsIgnoreCase(temp.toString().toLowerCase())) {
|
||||
defaulthud = x;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user