LTCatt před 6 roky
rodič
revize
ad64f932d5

+ 7 - 7
data/mini/functions/colormatch/game/start_new_round.mcfunction

@@ -8,13 +8,6 @@ execute if score $color_match_time mem matches 37.. run scoreboard players remov
 execute if score $color_match_time mem matches 12..36 run scoreboard players remove $color_match_time mem 1
 scoreboard players operation $countdown_fast mem = $color_match_time mem
 
-# HUD
-scoreboard players set $bossbar_color mem 1
-scoreboard players operation $countdown_max mem = $countdown_fast mem
-scoreboard players set $bossbar_type mem 1
-function lib:bossbar/show
-bossbar set mini:red name "地板消失"
-
 # 重置分数
 scoreboard players set $color_match_type mem 0
 
@@ -25,3 +18,10 @@ tag @a[tag=color_match_fall] remove color_match_fall
 
 # 告知玩家
 execute as @a at @s run function lib:sounds/hit
+
+# HUD
+scoreboard players set $bossbar_color mem 1
+scoreboard players operation $countdown_max mem = $countdown_fast mem
+scoreboard players set $bossbar_type mem 1
+function lib:bossbar/show
+bossbar set mini:red name "地板消失"