Added an isConnected() method

This commit is contained in:
nossr50 2012-02-27 05:27:59 -08:00
parent dfd1e311d1
commit d09512373b

View File

@ -50,6 +50,11 @@ public class Database {
System.out.println("VendorError: " + ex.getErrorCode());
}
}
public boolean isConnected()
{
return isConnected;
}
public Database(mcMMO instance) {
connect(); //Connect to MySQL