ソースを参照

修复开局无人自爆

HerobrineXia 6 年 前
親
コミット
4be37322f6
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      data/mini/functions/hotpm/tick2.mcfunction

+ 1 - 1
data/mini/functions/hotpm/tick2.mcfunction

@@ -1,5 +1,5 @@
 # 爆炸
 # 爆炸
-execute if score $countdown_fast mem matches 0 run function mini:hotpm/player_lose_heart
+execute if score $countdown_fast mem matches 0 if entity @a[tag=pm_holding] run function mini:hotpm/player_lose_heart
 
 
 # 检测土豆
 # 检测土豆
 function mini:hotpm/game/pm_check
 function mini:hotpm/game/pm_check