Browse Source

修复旁观者有生命显示的 Bug

LTCatt 6 years ago
parent
commit
62a587a553
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/mini/functions/colormatch/player_enter.mcfunction

+ 1 - 1
data/mini/functions/colormatch/player_enter.mcfunction

@@ -17,7 +17,7 @@ gamemode spectator @s
 gamemode adventure @s[tag=!watcher,tag=!rejoining]
 
 # 设置玩家生命数量
-scoreboard players set @s mini_heart 3
+scoreboard players set @s[tag=!watcher,tag=!rejoining] mini_heart 3
 function mini:main/player_max_health
 
 # 重新加入处理