Browse Source

death的debug信息

HerobrineXia 5 years ago
parent
commit
032924cb70

+ 1 - 1
data/ltw/functions/main/player_death.mcfunction

@@ -1,4 +1,4 @@
 # 当玩家死亡后触发
 # 当玩家死亡后触发
 scoreboard players reset @s death
 scoreboard players reset @s death
-
+say DEBUG: 触发ltw:main/player_death
 execute if score $state mem matches 5 run function ltw:state/5/player_death
 execute if score $state mem matches 5 run function ltw:state/5/player_death

+ 1 - 0
data/ltw/functions/state/5/player_death.mcfunction

@@ -1 +1,2 @@
+say DEBUG: ltw:state/5/player_death
 function mini:main/player_death
 function mini:main/player_death

+ 1 - 1
data/mini/functions/diamond/player_death.mcfunction

@@ -1,4 +1,4 @@
-
+say DEBUG: 触发mini:diamond/player_death
 # 执行重生方法
 # 执行重生方法
 function mini:diamond/game/respawn1
 function mini:diamond/game/respawn1
 
 

+ 1 - 0
data/mini/functions/main/player_death.mcfunction

@@ -1,3 +1,4 @@
 # 玩家死亡后触发
 # 玩家死亡后触发
+say DEBUG: 触发mini:main/player_death
 execute if score $mini_type mem matches 5 run function mini:phantom/player_failed
 execute if score $mini_type mem matches 5 run function mini:phantom/player_failed
 execute if score $mini_type mem matches 6 run function mini:diamond/player_death
 execute if score $mini_type mem matches 6 run function mini:diamond/player_death