1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-18 20:41:37 +02:00

Block external access to unsupported saveConfig() method.

This commit is contained in:
KHobbits
2013-06-17 01:08:42 +01:00
parent 23041abfbe
commit bae4a451eb

View File

@@ -244,6 +244,11 @@ public class Essentials extends JavaPlugin implements IEssentials
} }
} }
@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) private void registerListeners(PluginManager pm)
{ {
HandlerList.unregisterAll(this); HandlerList.unregisterAll(this);