mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-30 04:34:43 +02:00
Fix for config files not being created at startup.
This commit is contained in:
@ -41,11 +41,10 @@ public class LoadCustomTools extends ConfigLoader {
|
||||
private LoadCustomTools(mcMMO plugin) {
|
||||
super(plugin, "ModConfigs" + File.separator + "tools.yml");
|
||||
config = plugin.getToolsConfig();
|
||||
load();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void load() {
|
||||
public void load() {
|
||||
if (!configFile.exists()) {
|
||||
dataFolder.mkdir();
|
||||
plugin.saveToolsConfig();
|
||||
|
Reference in New Issue
Block a user