Conf is now editable without having to stop server.
This commit is contained in:
parent
bdd547309a
commit
d6a0be7ac2
@ -57,7 +57,6 @@ public class SavageFactions extends MPlugin {
|
|||||||
public static SavageFactions plugin;
|
public static SavageFactions plugin;
|
||||||
public static Permission perms = null;
|
public static Permission perms = null;
|
||||||
|
|
||||||
|
|
||||||
public boolean PlaceholderApi;
|
public boolean PlaceholderApi;
|
||||||
// Commands
|
// Commands
|
||||||
public FCmdRoot cmdBase;
|
public FCmdRoot cmdBase;
|
||||||
@ -448,7 +447,10 @@ public class SavageFactions extends MPlugin {
|
|||||||
public void onDisable() {
|
public void onDisable() {
|
||||||
// only save data if plugin actually completely loaded successfully
|
// only save data if plugin actually completely loaded successfully
|
||||||
if (this.loadSuccessful) {
|
if (this.loadSuccessful) {
|
||||||
Conf.save();
|
// Dont save, as this is kind of pointless, as the /f config command manually saves.
|
||||||
|
// So any edits done are saved, this way manual edits to json can go through.
|
||||||
|
|
||||||
|
// Conf.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (AutoLeaveTask != null) {
|
if (AutoLeaveTask != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user