mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-27 19:17:44 +01:00
Added an isConnected() method
This commit is contained in:
parent
dfd1e311d1
commit
d09512373b
@ -50,6 +50,11 @@ public class Database {
|
|||||||
System.out.println("VendorError: " + ex.getErrorCode());
|
System.out.println("VendorError: " + ex.getErrorCode());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isConnected()
|
||||||
|
{
|
||||||
|
return isConnected;
|
||||||
|
}
|
||||||
|
|
||||||
public Database(mcMMO instance) {
|
public Database(mcMMO instance) {
|
||||||
connect(); //Connect to MySQL
|
connect(); //Connect to MySQL
|
||||||
|
Loading…
Reference in New Issue
Block a user