Block external access to unsupported saveConfig() method.

This commit is contained in:
KHobbits 2013-06-17 01:08:42 +01:00
parent 8fb91c5a61
commit 07bcd17e0f

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)
{
HandlerList.unregisterAll(this);