Browse Source

tp物品到玩家

HerobrineXia 6 years ago
parent
commit
5802665ebb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/item/functions/force_pickup.mcfunction

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

@@ -7,4 +7,4 @@ data modify entity @s Owner set from entity @s Thrower
 
 # TP玩家
 tag @s add item_force_tp
-execute as @a if score @s UUID = @e[type=item,tag=item_force_tp,limit=1] UUID run say 检测到相同UUID
+execute as @a if score @s UUID = @e[type=item,tag=item_force_tp,limit=1] UUID run tp @e[type=item,tag=item_force_tp] @s