소스 검색

在进入游戏时清理 Tag

LTCatt 6 년 전
부모
커밋
7aaa401754
1개의 변경된 파일과 5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      data/mini/functions/hotpm/player_enter.mcfunction

+ 5 - 0
data/mini/functions/hotpm/player_enter.mcfunction

@@ -9,6 +9,11 @@ effect give @s instant_health 10 0 true
 effect give @s night_vision 1000000 0 true
 effect give @s resistance 1000000 4 true
 
+# 清理 Tag
+tag @s remove pm_hoding
+tag @s remove pm_damage_dealt
+tag @s remove pm_damage_taken
+
 # 关闭伤害
 gamerule fallDamage false