Parcourir la source

测试物品捡取bug

HerobrineXia il y a 6 ans
Parent
commit
92781ed4d8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 tp @e[type=item,tag=item_force_tp] @s
+execute as @a if score @s UUID = @e[type=item,tag=item_force_tp,limit=1] UUID run say 检测到相同UUID