diff options
author | KHobbits <rob@khobbits.co.uk> | 2013-06-17 01:08:42 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-06-17 01:08:42 +0100 |
commit | bae4a451eb2dcc34bc2ed499056bbac3e17be4d1 (patch) | |
tree | 68e21ec481820d4cc477e3e2621ebf91f58858d7 | |
parent | 23041abfbebeffa6ec3bffd3ee96beb4401bdea4 (diff) | |
download | Essentials-bae4a451eb2dcc34bc2ed499056bbac3e17be4d1.tar Essentials-bae4a451eb2dcc34bc2ed499056bbac3e17be4d1.tar.gz Essentials-bae4a451eb2dcc34bc2ed499056bbac3e17be4d1.tar.lz Essentials-bae4a451eb2dcc34bc2ed499056bbac3e17be4d1.tar.xz Essentials-bae4a451eb2dcc34bc2ed499056bbac3e17be4d1.zip |
Block external access to unsupported saveConfig() method.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Essentials.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Essentials.java b/Essentials/src/com/earth2me/essentials/Essentials.java index 2cd6c0c97..9689ea923 100644 --- a/Essentials/src/com/earth2me/essentials/Essentials.java +++ b/Essentials/src/com/earth2me/essentials/Essentials.java @@ -243,7 +243,12 @@ public class Essentials extends JavaPlugin implements IEssentials LOGGER.log(Level.INFO, "Essentials load " + timeroutput); } } - + + @Override + public void saveConfig() { + // We don't use any of the bukkit config writing, as this breaks our config file formatting. + } + private void registerListeners(PluginManager pm) { HandlerList.unregisterAll(this); |