HerobrineXia 6 anni fa
parent
commit
5baaedce47
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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
 gamerule naturalRegeneration true
 effect give @s resistance 1000000 4 true
 effect give @s resistance 1000000 4 true
 
 
+# 计分板
+scoreboard players reset @s layer
+
 # 设置玩家生命
 # 设置玩家生命
 attribute @s generic.max_health base set 20
 attribute @s generic.max_health base set 20