mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-03 18:43:43 +01:00 
			
		
		
		
	Added an isConnected() method
This commit is contained in:
		@@ -51,6 +51,11 @@ public class Database {
 | 
				
			|||||||
	    }
 | 
						    }
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
 | 
						public boolean isConnected()
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
						    return isConnected;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	public Database(mcMMO instance) {
 | 
						public Database(mcMMO instance) {
 | 
				
			||||||
	    connect(); //Connect to MySQL
 | 
						    connect(); //Connect to MySQL
 | 
				
			||||||
		this.plugin = instance;
 | 
							this.plugin = instance;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user