Browse Source

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

LTCatt 6 years ago
parent
commit
b8fa17db98
1 changed files with 1 additions and 1 deletions
  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] at @s run function mini:hotpm/game/damage_dealt2
+execute if entity @s[tag=pm_holding] if entity @a[tag=pm_damage_taken] at @s run function mini:hotpm/game/damage_dealt2
 
 # 结束伤害判断
 tag @a remove pm_damage_dealt