fz-survival-datapack/data/fz/functions/game_event/advancement/on_dead.mcfunction

7 lines
228 B
Mcfunction
Raw Normal View History

# 调用者advancements/fz:~
execute if predicate fz:is_real_player run function fz:game_event/player/on_dead
## 重置事件
scoreboard players set @s fz.event.death_count 0
advancement revoke @s only fz:game_event/on_dead