HerobrineXia il y a 6 ans
Parent
commit
5baaedce47
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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