Load SQLite driver manually (#429)
This commit is contained in:
parent
32083f1188
commit
a201ed5aa2
@ -34,6 +34,7 @@ public class ArclightServer {
|
|||||||
((MinecraftServerBridge) console).bridge$setServer(server);
|
((MinecraftServerBridge) console).bridge$setServer(server);
|
||||||
((MinecraftServerBridge) console).bridge$setConsole(ColouredConsoleSender.getInstance());
|
((MinecraftServerBridge) console).bridge$setConsole(ColouredConsoleSender.getInstance());
|
||||||
|
|
||||||
|
Class.forName("org.sqlite.JDBC");
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
throw new RuntimeException("Error initializing Arclight", t);
|
throw new RuntimeException("Error initializing Arclight", t);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user