Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Conf is now editable without having to stop server.
Browse files Browse the repository at this point in the history
  • Loading branch information
prosavage committed Jan 3, 2019
1 parent bdd5473 commit d6a0be7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/com/massivecraft/factions/SavageFactions.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public class SavageFactions extends MPlugin {
public static SavageFactions plugin;
public static Permission perms = null;


public boolean PlaceholderApi;
// Commands
public FCmdRoot cmdBase;
Expand Down Expand Up @@ -448,7 +447,10 @@ private void divider() {
public void onDisable() {
// only save data if plugin actually completely loaded successfully
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) {
Expand Down

0 comments on commit d6a0be7

Please sign in to comment.