Parcourir la source

修复热土豆分裂(?

HerobrineXia il y a 6 ans
Parent
commit
8915aae4f1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      data/mini/functions/hotpm/game/damage_dealt.mcfunction

+ 1 - 1
data/mini/functions/hotpm/game/damage_dealt.mcfunction

@@ -1,5 +1,5 @@
 # 如果是土豆持有者在热土豆游戏中打到人,才执行下一步
-execute if entity @s[tag=pm_holding] if entity @a[tag=pm_damage_taken] at @s run function mini:hotpm/game/damage_dealt2
+execute if entity @s[tag=pm_holding] if entity @a[tag=pm_damage_taken] unless entity @s[tag=pm_damage_taken] at @s run function mini:hotpm/game/damage_dealt2
 
 # 结束伤害判断
 tag @a remove pm_damage_dealt