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

@ -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);