Loading of MySQL driver on all platforms

All platforms now load the MySQL driver included in Plan.

Hopefully they also use it.
This commit is contained in:
Rsl1122 2019-11-16 13:44:21 +02:00
parent 9dc98c6941
commit 90b263f483

View File

@ -23,7 +23,6 @@ import com.djrapitops.plan.settings.config.PlanConfig;
import com.djrapitops.plan.settings.config.paths.DatabaseSettings; import com.djrapitops.plan.settings.config.paths.DatabaseSettings;
import com.djrapitops.plan.settings.locale.Locale; import com.djrapitops.plan.settings.locale.Locale;
import com.djrapitops.plan.settings.locale.lang.PluginLang; import com.djrapitops.plan.settings.locale.lang.PluginLang;
import com.djrapitops.plugin.api.Check;
import com.djrapitops.plugin.benchmarking.Timings; import com.djrapitops.plugin.benchmarking.Timings;
import com.djrapitops.plugin.logging.L; import com.djrapitops.plugin.logging.L;
import com.djrapitops.plugin.logging.console.PluginLogger; import com.djrapitops.plugin.logging.console.PluginLogger;
@ -89,7 +88,7 @@ public class MySQLDB extends SQLDB {
@Override @Override
public void setupDataSource() { public void setupDataSource() {
try { try {
if (Check.isVelocityAvailable()) loadMySQLDriver(); loadMySQLDriver();
HikariConfig hikariConfig = new HikariConfig(); HikariConfig hikariConfig = new HikariConfig();