FIXED MASSIVE BUG WITH SAVING
This commit is contained in:
parent
b89db7b082
commit
8665d92476
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user