fz-survival-datapack/data/fz/functions/uninstall.mcfunction

14 lines
432 B
Mcfunction
Raw Normal View History

2022-06-23 20:06:15 +08:00
# 调用者:#fz:uninstall
function #fz:module/uninstall
## 整数类型
scoreboard objectives remove fz.variable.integer
function #fz:logger/uninstall
2022-06-23 20:06:15 +08:00
## 标记为已卸载
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": "卸载完成!"}]