00ll00 vor 6 Jahren
Ursprung
Commit
8206eacd05
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      data/mini/functions/hotpm/game/pm_init_first.mcfunction

+ 3 - 1
data/mini/functions/hotpm/game/pm_init_first.mcfunction

@@ -1,3 +1,5 @@
 # 第一次初始化土豆
 # 第一次初始化土豆
 execute as @a[tag=mini_running] run function mini:main/get_max_score
 execute as @a[tag=mini_running] run function mini:main/get_max_score
-execute as @a[tag=mini_running,limit=1,sort=random] if score @s mini_score = $t_score_max mini_score run function mini:hotpm/game/pm_init
+execute as @a[tag=mini_running] if score @s mini_score = $t_score_max mini_score run tag @s add mini_hotpm_top
+execute as @a[tag=mini_hotpm_top,limit=1,sort=random] run function mini:hotpm/game/pm_init
+tag @a[tag=mini_hotpm_top] remove mini_hotpm_top