Sfoglia il codice sorgente

death判断删除health=1..

HerobrineXia 5 anni fa
parent
commit
4398c768ec
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 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