Load SQLite driver manually (#429)

This commit is contained in:
IzzelAliz 2022-03-07 16:25:58 +08:00
parent 32083f1188
commit a201ed5aa2
No known key found for this signature in database
GPG Key ID: EE50E123A11D8338

View File

@ -34,6 +34,7 @@ public class ArclightServer {
((MinecraftServerBridge) console).bridge$setServer(server);
((MinecraftServerBridge) console).bridge$setConsole(ColouredConsoleSender.getInstance());
Class.forName("org.sqlite.JDBC");
} catch (Throwable t) {
throw new RuntimeException("Error initializing Arclight", t);
}