mirror of
https://github.com/BlockWorldGroup/Ledger-Databases.git
synced 2025-08-16 11:09:42 +08:00
Fix
This commit is contained in:
parent
e0699492a4
commit
ec9706a555
@ -14,6 +14,6 @@ class LedgerDatabaseExtension : DatabaseExtension {
|
||||
return Ledger.config[DatabaseExtensionSpec.database].database.getDataSource(savePath)
|
||||
}
|
||||
|
||||
override fun getIdentifier(): Identifier =
|
||||
override fun getIdentifier(): Identifier =
|
||||
Ledger.config[DatabaseExtensionSpec.database].database.getDatabaseIdentifier()
|
||||
}
|
||||
|
@ -12,5 +12,8 @@ object LedgerDatabases : DedicatedServerModInitializer {
|
||||
ExtensionManager.registerExtension(LedgerDatabaseExtension())
|
||||
}
|
||||
|
||||
fun identifier(path: String) = Identifier(MOD_ID, path)
|
||||
// fun identifier(path: String) = Identifier(MOD_ID, path)
|
||||
fun identifier(path: String): Identifier {
|
||||
return Identifier.of(MOD_ID, path)
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user