浏览代码

加回了health检测

HerobrineXia 5 年之前
父节点
当前提交
7ba55a7d76
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      data/ltw/functions/clock/tick1.mcfunction

+ 1 - 1
data/ltw/functions/clock/tick1.mcfunction

@@ -4,4 +4,4 @@
 execute if score $state mem matches 5 run function ltw:state/5/tick1
 
 # 死亡触发
-execute as @a[scores={death=1..}] at @s run function ltw:main/player_death
+execute as @a[scores={death=1..,health=1..}] at @s run function ltw:main/player_death