Просмотр исходного кода

Merge branches 'master' and 'master' of https://github.com/LTCatt/LTW3

LTCatt 6 лет назад
Родитель
Сommit
783699c823
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      data/mini/functions/hotpm/game/pm_init_first.mcfunction

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

@@ -1,6 +1,6 @@
 # 第一次初始化土豆
-scoreboard players set $t_score_max mem -2147483648
-execute as @a[tag=mini_running] run function mini:main/get_max_score
-execute as @a[tag=mini_running] if score @s total_score = $t_score_max mem run tag @s add mini_hotpm_top
+scoreboard players set $t_score_max total_score -2147483648
+execute as @a[tag=mini_running] run function ltw:main/get_max_score
+execute as @a[tag=mini_running] if score @s total_score = $t_score_max total_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