Jelajahi Sumber

Merge branch 'master' of https://github.com/LTCatt/LTW3

LTCatt 5 tahun lalu
induk
melakukan
eef2539612
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  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
 
 # 减少命