LTCatt 6 лет назад
Родитель
Сommit
286b932bf1

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

@@ -8,4 +8,4 @@ execute if score $mini_type mem matches 4 run function mini:colormatch/tick5
 # 同步生命值
 scoreboard players reset * health_disp
 scoreboard players set @a[gamemode=!spectator] health_disp 20
-execute as @a[gamemode=!spectator] run scoreboard players operation @s health_disp = @s health
+execute as @a[gamemode=!spectator,scores={health=1..}] run scoreboard players operation @s health_disp = @s health

+ 0 - 2
data/mini/functions/zombie/game_init.mcfunction

@@ -17,5 +17,3 @@ scoreboard players set $zombie_luck mem 0
 # 伤害管理
 team modify player friendlyFire false
 gamerule fallDamage false
-
-# FIXME [LTCat] 玩家生命值显示存在问题