@@ -1,5 +1,4 @@
# 强制玩家捡起自己丢弃的物品,以物品为执行者
-say 被tp了
# 更改 NBT
data modify entity @s PickupDelay set value 0
data modify entity @s Owner set from entity @s Thrower
@@ -1,2 +1,4 @@
tp @a[tag=respawning] ~ 263 ~
+execute as @e[type=item,tag=death_drop] run function item:disable_throw
+tag @e[type=item,tag=death_drop] remove death_drop
tag @a remove respawning
@@ -20,6 +20,4 @@ execute if score #total_drop temp matches 1.. run function mini:diamond/game/ite
# 其余物品丢回背包
tag @s add dead_player
execute as @e[type=item,tag=death_drop] run data modify entity @s Thrower set from entity @a[tag=dead_player,limit=1] UUID
-tag @s remove dead_player
-execute as @e[type=item,tag=death_drop] run function item:disable_throw
-tag @e[type=item,tag=death_drop] remove death_drop
+tag @s remove dead_player