完善日志组件、完善配置组件、完善计分板组件

This commit is contained in:
延皓 committed 2022-06-25 02:22:23 +08:00
1 parent 6f6ccb05be
commit d74bb19964
241 files changed
+846 -553

No files matched your search

+5 -5
View File
@@ -5,10 +5,10 @@ function #fz:module/uninstall
## 整数类型
scoreboard objectives remove fz.variable.integer
function #fz:event/uninstall
## 卸载日志,为避免扩展数据包在卸载时无法使用日志,故延迟1tick卸载
schedule function #fz:logger/uninstall 1t replace
function #fz:logger/uninstall
## 标记为已卸载
data modify storage fz:install_manager fz.global set value 0b
data modify storage fz:install_manager fz.global set value 0b
## 日志
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "卸载完成!"}]