mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-01 05:57:09 +00:00
Fixes FS-349
This commit is contained in:
parent
9998392b1a
commit
0686419ce3
@ -186,19 +186,6 @@ public enum ConfigEntry
|
|||||||
this.configName = configName;
|
this.configName = configName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ConfigEntry findConfigEntry(String name)
|
|
||||||
{
|
|
||||||
name = name.toLowerCase().replace("_", "");
|
|
||||||
for (ConfigEntry entry : values())
|
|
||||||
{
|
|
||||||
if (entry.toString().toLowerCase().replace("_", "").equals(name))
|
|
||||||
{
|
|
||||||
return entry;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Class<?> getType()
|
public Class<?> getType()
|
||||||
{
|
{
|
||||||
return type;
|
return type;
|
||||||
|
Loading…
Reference in New Issue
Block a user