修复自定义货币问题

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
+1 -1
View File
@@ -20,7 +20,7 @@ taboolib {
name("xbaimiao")
}
val bukkitNodes = bukkitNodes as MutableMap<Any, Any>
bukkitNodes["update-info"] = "数据库添加缓存 优化性能"
bukkitNodes["update-info"] = "修复自定义货币问题"
}
env {
install(NMS_UTIL, UI)
+1 -1
View File
@@ -1,2 +1,2 @@
group=com.github.xbaimiao.shoppro
version=1.2.7-SNAPSHOT
version=1.2.8-SNAPSHOT
@@ -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)