Correct format and comment

This commit is contained in:
T00thpick1 2013-03-09 17:08:01 -05:00 committed by NuclearW
parent 7c9d09a878
commit 69dd5769e4

View File

@ -176,10 +176,12 @@ public class mcMMO extends JavaPlugin {
catch (NullPointerException e) {} catch (NullPointerException e) {}
getServer().getScheduler().cancelTasks(this); // This removes our tasks getServer().getScheduler().cancelTasks(this); // This removes our tasks
if (Config.getInstance().getUseMySQL()) { if (Config.getInstance().getUseMySQL()) {
queueManager.disable(); queueManager.disable(); // Disable and stop queue thread
queueManager = null; queueManager = null; // null static variable
} }
HandlerList.unregisterAll(this); // Cancel event registrations HandlerList.unregisterAll(this); // Cancel event registrations
if (Config.getInstance().getBackupsEnabled()) { if (Config.getInstance().getBackupsEnabled()) {