Init our own h2

This commit is contained in:
AverageGithub 2024-01-02 11:32:34 +01:00
parent 1dc72a5d4f
commit c086eb36a3

View File

@ -24,6 +24,7 @@ class H2DataHandler : DataHandler {
} }
override fun setup() { override fun setup() {
Class.forName("org.h2.Driver")
connection = connection =
JdbcConnection("jdbc:h2:./${AxMinionsPlugin.INSTANCE.dataFolder}/data", Properties(), null, null, false) JdbcConnection("jdbc:h2:./${AxMinionsPlugin.INSTANCE.dataFolder}/data", Properties(), null, null, false)