Ver código fonte

修复人数

00ll00 6 anos atrás
pai
commit
f292600bd0
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      data/mini/functions/main/player_failed.mcfunction

+ 1 - 1
data/mini/functions/main/player_failed.mcfunction

@@ -2,7 +2,7 @@
 
 
 # 计数
 # 计数
 tag @s remove mini_running
 tag @s remove mini_running
-execute store result score $t_finish mem if entity @a[tag=mini_running]
+execute store result score $t_alive mem if entity @a[tag=mini_running]
 execute if score $t_alive mem matches 1.. run tellraw @a [{"selector": "@s","color":"red"}," 已失败! 剩余 ",{"score": {"name": "$t_alive","objective": "mem"}}," 人!"]
 execute if score $t_alive mem matches 1.. run tellraw @a [{"selector": "@s","color":"red"}," 已失败! 剩余 ",{"score": {"name": "$t_alive","objective": "mem"}}," 人!"]
 
 
 # 给存活的玩减分
 # 给存活的玩减分