瀏覽代碼

death判断删除health=1..

HerobrineXia 5 年之前
父節點
當前提交
4398c768ec
共有 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..,health=1..}] at @s run function ltw:main/player_death
+execute as @a[scores={death=1..}] at @s run function ltw:main/player_death