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

7 lines
321 B
Mcfunction
Raw Normal View History

2022-07-09 13:06:56 +08:00
data remove storage fz:here fz
## 标记为已卸载
data modify storage fz:installed fz.module.here set value 0b
## 日志
2022-07-19 20:53:53 +08:00
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:玩家位置"}]