Added config option to easily disable all scoreboards

This commit is contained in:
nossr50
2019-01-11 01:47:36 -08:00
parent 626890ed95
commit f828084246
4 changed files with 13 additions and 7 deletions

View File

@ -33,7 +33,8 @@ public final class SQLDatabaseManager implements DatabaseManager {
private ReentrantLock massUpdateLock = new ReentrantLock();
protected SQLDatabaseManager() {
String connectionString = "jdbc:mysql://" + Config.getInstance().getMySQLServerName() + ":" + Config.getInstance().getMySQLServerPort() + "/" + Config.getInstance().getMySQLDatabaseName();
String connectionString = "jdbc:mysql://" + Config.getInstance().getMySQLServerName()
+ ":" + Config.getInstance().getMySQLServerPort() + "/" + Config.getInstance().getMySQLDatabaseName();
try {
// Force driver to load if not yet loaded