mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 16:46:46 +01:00
Correct format and comment
This commit is contained in:
parent
7c9d09a878
commit
69dd5769e4
@ -176,10 +176,12 @@ public class mcMMO extends JavaPlugin {
|
||||
catch (NullPointerException e) {}
|
||||
|
||||
getServer().getScheduler().cancelTasks(this); // This removes our tasks
|
||||
|
||||
if (Config.getInstance().getUseMySQL()) {
|
||||
queueManager.disable();
|
||||
queueManager = null;
|
||||
queueManager.disable(); // Disable and stop queue thread
|
||||
queueManager = null; // null static variable
|
||||
}
|
||||
|
||||
HandlerList.unregisterAll(this); // Cancel event registrations
|
||||
|
||||
if (Config.getInstance().getBackupsEnabled()) {
|
||||
|
Loading…
Reference in New Issue
Block a user