mirror of
https://github.com/Artillex-Studios/AxMinions.git
synced 2024-12-01 13:03:43 +01:00
Init our own h2
This commit is contained in:
parent
1dc72a5d4f
commit
c086eb36a3
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user