LTCatt 5 ani în urmă
părinte
comite
7a74eeca6d

+ 1 - 0
data/ltw/functions/clock/tick2.mcfunction

@@ -3,6 +3,7 @@ schedule function ltw:clock/tick2 2t replace
 
 # 死亡触发
 execute as @a[x=-12,y=7,z=-102,distance=..5] run tp @s -13 9 -42
+execute as @a[x=-12,y=7,z=-102,distance=..5] at @s run say 1
 execute as @a[x=-12,y=7,z=-102,distance=..5] at @s run function ltw:main/player_death
 
 # 调用其他模块

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

@@ -1 +1,2 @@
+say 2
 function mini:main/player_death

+ 1 - 0
data/mini/functions/diamond/game/respawn1.mcfunction

@@ -11,3 +11,4 @@ gamerule naturalRegeneration false
 
 # 传送玩家
 tp @s 1016 280 5016
+say 4

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

@@ -1,6 +1,7 @@
 # 执行重生方法
 function mini:diamond/game/respawn1
 
+say 3
 # 复活特效
 execute as @a at @s run function lib:sounds/error
 effect give @s blindness 3 0 true