HerobrineXia hace 6 años
padre
commit
5baaedce47
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      data/mini/functions/tntrun/player_enter.mcfunction

+ 3 - 0
data/mini/functions/tntrun/player_enter.mcfunction

@@ -9,6 +9,9 @@ effect give @s saturation 1000000 0 true
 gamerule naturalRegeneration true
 effect give @s resistance 1000000 4 true
 
+# 计分板
+scoreboard players reset @s layer
+
 # 设置玩家生命
 attribute @s generic.max_health base set 20