Browse Source

修复跑酷同时完成会有多次提示的 Bug

LTCatt 6 years ago
parent
commit
82229ec317
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/mini/functions/main/player_finished.mcfunction

+ 1 - 1
data/mini/functions/main/player_finished.mcfunction

@@ -4,7 +4,7 @@
 tag @s remove mini_running
 scoreboard players set $t_finish mem 0
 execute as @a[tag=!mini_running] run scoreboard players add $t_finish mem 1
-execute if score $t_alive mem matches ..3 run tellraw @a [{"selector": "@s","color":"green"}," 已成功! 第 ",{"score": {"name": "$t_finish","objective": "mem"}}," 名!"]
+execute if score $t_finish mem matches ..3 run tellraw @a [{"selector": "@s","color":"green"}," 已成功! 第 ",{"score": {"name": "$t_finish","objective": "mem"}}," 名!"]
 
 # 给已完成的玩家加分
 scoreboard players add @a[tag=!mini_running] mini_score 1