完善日志组件、完善配置组件、完善计分板组件
This commit is contained in:
@@ -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": "卸载完成!"}]
|
||||
Reference in New Issue
Block a user