修复自定义货币问题

This commit is contained in:
xbaimiao
2024-04-12 20:20:16 +08:00
parent c2d58430ea
commit 8836ec5b66
3 changed files with 4 additions and 4 deletions
@@ -36,8 +36,8 @@ object ShopPro : Plugin(), KtorStat {
info("$userId 感谢您的使用")
stat()
}
ShopManager.load()
DiyCurrency.load()
ShopManager.load()
VaultImpl.startTask()
database = if (config.getBoolean("mysql.enable")) MysqlDatabase(config) else SQLiteDatabase()
@@ -50,8 +50,8 @@ object ShopPro : Plugin(), KtorStat {
fun reload() {
config.reload()
ShopManager.shops.clear()
ShopManager.load()
DiyCurrency.load()
ShopManager.load()
Bukkit.getOnlinePlayers().forEach {
database.releasePlayerData(it)