浏览代码

不tp怪bug¿

HerobrineXia 5 年之前
父节点
当前提交
96528de1ea
共有 2 个文件被更改,包括 2 次插入 和 2 次删除
  1. 1 1
      data/item/functions/disable_throw.mcfunction
  2. 1 1
      data/mini/functions/diamond/player_death.mcfunction

+ 1 - 1
data/item/functions/disable_throw.mcfunction

@@ -1,5 +1,5 @@
 # 强制玩家捡起自己丢弃的物品,以物品为执行者
-
+say 被tp了
 # 更改 NBT
 data modify entity @s PickupDelay set value 0
 data modify entity @s Owner set from entity @s Thrower

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

@@ -22,4 +22,4 @@ 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 @e[type=item,tag=death_drop] remove death_drop