Browse Source

rgb物品防清理

HerobrineXia 4 years ago
parent
commit
fd5e1333ed
1 changed files with 1 additions and 0 deletions
  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]