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

7 lines
238 B
Mcfunction
Raw Normal View History

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