浏览代码

rgb物品防清理

HerobrineXia 5 年之前
父节点
当前提交
fd5e1333ed
共有 1 个文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      data/mini/functions/rgb/game/tp_new_item.mcfunction

+ 1 - 0
data/mini/functions/rgb/game/tp_new_item.mcfunction

@@ -3,4 +3,5 @@ data modify entity @s Owner set from entity @a[tag=rgb_temp,limit=1] UUID
 data modify entity @s Thrower set from entity @a[tag=rgb_temp,limit=1] UUID
 data modify entity @s PickupDelay set value 0
 data modify entity @s Item.tag.rgb_newrule set value 0
+tag @s add persist
 tp @s @a[tag=rgb_temp,limit=1]