00ll00 пре 6 година
родитељ
комит
c2db2d8925

+ 4 - 4
data/item/functions/check_item/return_item.mcfunction

@@ -1,5 +1,5 @@
-data modify block 0 0 0 RecordItem.tag.ltw_item_new set value 0b
+data modify block 0 0 0 RecordItem.tag.item_new set value 0b
 fill 0 0 0 0 0 0 air destroy
-tag @s add ltw_item_op
-execute as @e[tag=!ltw_item_old,type=minecraft:item,nbt={"Item":{"tag":{"ltw_item":1b}}},limit=1] run function item:check_item/tp
-tag @s remove ltw_item_op
+tag @s add item_op
+execute as @e[tag=!item_old,type=minecraft:item,nbt={"Item":{"tag":{"item":1b}}},limit=1] run function item:check_item/tp
+tag @s remove item_op

+ 2 - 2
data/item/functions/check_item/tp.mcfunction

@@ -1,4 +1,4 @@
 #as item
-tp @s @a[tag=ltw_item_op,limit=1]
-tag @s add ltw_item_old
+tp @s @a[tag=item_op,limit=1]
+tag @s add item_old
 data modify entity @s PickupDelay set value 0