Should be fine now

This commit is contained in:
Paldiu
2021-01-04 18:27:57 -06:00
parent c7b0f77910
commit 323fd1a031
2 changed files with 1 additions and 44 deletions

View File

@ -247,17 +247,4 @@ public enum ConfigEntry
{
return TotalFreedomMod.getPlugin().config;
}
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;
}
}