mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	Correct format and comment
This commit is contained in:
		@@ -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()) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user