1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-16 19:44:15 +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

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