Browse Source

加回了health检测

HerobrineXia 5 years ago
parent
commit
7ba55a7d76
1 changed files with 1 additions and 1 deletions
  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