소스 검색

不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