diff options
-rw-r--r-- | src/main/java/org/bukkit/plugin/java/JavaPlugin.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/plugin/java/JavaPlugin.java b/src/main/java/org/bukkit/plugin/java/JavaPlugin.java index c654f514..9becc234 100644 --- a/src/main/java/org/bukkit/plugin/java/JavaPlugin.java +++ b/src/main/java/org/bukkit/plugin/java/JavaPlugin.java @@ -139,7 +139,7 @@ public abstract class JavaPlugin implements Plugin { public void saveConfig() { try { - newConfig.save(configFile); + getConfig().save(configFile); } catch (IOException ex) { Logger.getLogger(JavaPlugin.class.getName()).log(Level.SEVERE, "Could not save config to " + configFile, ex); } |