FIXED MASSIVE BUG WITH SAVING
This commit is contained in:
@@ -184,8 +184,10 @@ public class FactionsPlugin extends MPlugin {
|
|||||||
Metrics metrics = new Metrics(this, pluginId);
|
Metrics metrics = new Metrics(this, pluginId);
|
||||||
|
|
||||||
|
|
||||||
if (!preEnable()) return;
|
if (!preEnable()) {
|
||||||
this.loadSuccessful = false;
|
this.loadSuccessful = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!new File(this.getDataFolder() + "/config.yml").exists()) {
|
if (!new File(this.getDataFolder() + "/config.yml").exists()) {
|
||||||
this.saveResource("config.yml", false);
|
this.saveResource("config.yml", false);
|
||||||
|
|||||||
Reference in New Issue
Block a user