00ll00 hace 6 años
padre
commit
8206eacd05
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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,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