fz-survival-datapack/data/fz/functions/module/config/reset_trigger.mcfunction

7 lines
398 B
Mcfunction

# 调用者:#fz:module/config/reset_trigger
scoreboard players reset @s fz.module.config.trigger
scoreboard players enable @s fz.module.config.trigger
## 调试
execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "已重置玩家"}, {"selector": "@s"}, {"text": "的触发器分数"}]