mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2026-06-05 10:56:55 +00:00
Config is handled by MainConfig not built in class
This commit is contained in:
@@ -21,6 +21,7 @@ public class MainConfig extends PluginComponent<TotalFreedomMod>
|
||||
//
|
||||
private final EnumMap<ConfigEntry, Object> entries;
|
||||
private final ConfigDefaults defaults;
|
||||
public YamlConfiguration configuration;
|
||||
|
||||
public MainConfig(TotalFreedomMod plugin)
|
||||
{
|
||||
@@ -67,6 +68,8 @@ public class MainConfig extends PluginComponent<TotalFreedomMod>
|
||||
|
||||
config.load(getConfigFile());
|
||||
|
||||
configuration = config;
|
||||
|
||||
for (ConfigEntry entry : ConfigEntry.values())
|
||||
{
|
||||
String path = entry.getConfigName();
|
||||
|
||||
Reference in New Issue
Block a user