mirror of
https://github.com/BlockWorldGroup/Ledger-Databases.git
synced 2025-08-17 11:39:43 +08:00
Use default database identifier if no custom DB selected
This commit is contained in:
parent
6e2acace6c
commit
d259bda36b
@ -36,7 +36,7 @@ class LedgerDatabaseExtension : DatabaseExtension {
|
|||||||
return mySqlIdentifier
|
return mySqlIdentifier
|
||||||
|
|
||||||
}
|
}
|
||||||
return Ledger.identifier("sqlite")
|
return Ledger.identifier(Ledger.DEFAULT_DATABASE)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun sqlite(server: MinecraftServer) = Database.connect(
|
private fun sqlite(server: MinecraftServer) = Database.connect(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user