fz-survival-datapack/data/fzsd/function/module/last_death/uninstall.mcfunction
2024-06-16 11:01:54 +08:00

7 lines
350 B
Mcfunction

data remove storage fzsd:last_death fzsd
## 标记为已卸载
data modify storage fzsd:install fzsd.module.last_death set value 0b
## 日志
execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已卸载组件:上一死亡点"}]