Ver Fonte

清理无用效果

HerobrineXia há 5 anos atrás
pai
commit
9ae317d600
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      data/mini/functions/main/player_lose_heart.mcfunction

+ 0 - 1
data/mini/functions/main/player_lose_heart.mcfunction

@@ -5,7 +5,6 @@ execute if score @s mini_heart matches 1 if entity @s[nbt={SelectedItem:{id:"min
 execute if score @s mini_heart matches 1 if entity @s[nbt={Inventory:[{Slot:-106b,id:"minecraft:totem_of_undying"}]}] run tag @s add have_totem
 execute if entity @s[tag=have_totem] run effect clear @s resistance
 execute if entity @s[tag=have_totem] run effect give @s instant_damage 1 10 true
-execute if entity @s[tag=have_totem] run effect give @s instant_damage 1 10 true
 schedule function mini:main/lose_heart_effect 1t
 
 # 减少命