From 418bd919dae0b42724a001351a6117f2377e6112 Mon Sep 17 00:00:00 2001 From: peti <95631000+darthpeti@users.noreply.github.com> Date: Fri, 1 Jul 2022 19:35:45 +0300 Subject: [PATCH] Fix config.yml erasing itself when closing server --- src/main/java/me/darthpeti/townytweaks/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/darthpeti/townytweaks/Main.java b/src/main/java/me/darthpeti/townytweaks/Main.java index 385e1b4..7048871 100644 --- a/src/main/java/me/darthpeti/townytweaks/Main.java +++ b/src/main/java/me/darthpeti/townytweaks/Main.java @@ -71,7 +71,7 @@ public void registerListeners(){ @Override public void onDisable() { - instance.saveConfig(); + } public void loadConfig(){