Browse Source

修复不死图腾

HerobrineXia 5 years ago
parent
commit
c3311c49ae
1 changed files with 2 additions and 2 deletions
  1. 2 2
      data/mini/functions/main/lose_heart_effect.mcfunction

+ 2 - 2
data/mini/functions/main/lose_heart_effect.mcfunction

@@ -1,6 +1,6 @@
 effect clear @a[tag=have_totem] regeneration
 effect clear @a[tag=have_totem] fire_resistance
 effect clear @a[tag=have_totem] absorption
-effect give @a[tag=have_totem] resistance 999999 4
-effect give @a[tag=have_totem] instant_health 1 10
+effect give @a[tag=have_totem] resistance 999999 4 true
+effect give @a[tag=have_totem] instant_health 1 10 true
 tag @a[tag=have_totem] remove have_totem