mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Remove useless toString() call.
This commit is contained in:
parent
5c13661c47
commit
f324181190
@ -26,7 +26,7 @@ public class SpoutConfig extends ConfigLoader {
|
|||||||
String temp = config.getString("Spout.HUD.Default", "STANDARD");
|
String temp = config.getString("Spout.HUD.Default", "STANDARD");
|
||||||
|
|
||||||
for (HudType hudType : HudType.values()) {
|
for (HudType hudType : HudType.values()) {
|
||||||
if (hudType.toString().equalsIgnoreCase(temp.toString())) {
|
if (hudType.toString().equalsIgnoreCase(temp)) {
|
||||||
defaultHudType = hudType;
|
defaultHudType = hudType;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user