LTCatt před 6 roky
rodič
revize
1530e101af

+ 1 - 0
data/mini/functions/main/game_start.mcfunction

@@ -13,6 +13,7 @@ execute if score $mini_type mem matches 5 run scoreboard objectives setdisplay b
 scoreboard objectives setdisplay sidebar total_score
 
 # 调用其他模块
+execute if score $mini_type mem matches 1 run function mini:parkour/game_start
 execute if score $mini_type mem matches 2 run function mini:tntrun/game_start
 execute if score $mini_type mem matches 3 run function mini:hotpm/game_start
 execute if score $mini_type mem matches 4 run function mini:colormatch/game_start

+ 0 - 1
data/mini/functions/parkour/game_init.mcfunction

@@ -20,7 +20,6 @@ execute positioned 1024.5 30.5 1038.5 run function item:bonus_item/gameparty/las
 
 # 初始化开门变量
 scoreboard players set $parkour_door mem 0
-scoreboard players set $countdown mem 150
 
 # 伤害管理
 scoreboard players set $remove_resistance mem 0

+ 2 - 0
data/mini/functions/parkour/game_start.mcfunction

@@ -0,0 +1,2 @@
+# 强制开门倒计时
+scoreboard players set $countdown mem 150