#item update

1 messages · Page 1 of 1 (latest)

echo wren
#

ok is it possible to do this.

say i have an item lets call it item 1 and i update item 1 to have a diffrent damage and dmg is stored in the lore. and someone get another copy of item 1 but with the new stats how can i make it so every instance of item 1 is updated i was thinking saving every created instance of item 1 to a variable and when its update run a check and replace all of the old item 1's in peoples inventorys with the new one. how would i start going about this or is there an easier way

main snow
#

loop all players

#

check if loop-player has the old item 1

#

and replace it with the new item 1

normal wyvern
#

store stuff in NBT not lore

echo wren
#

what im working on know lol

#

except my hatred of nbt is real

normal wyvern
#

and you can just detect when a player clicks with the old item and change it to the new item i guess

main snow
#

Or better yet check it on login

hot bobcat
#

trust me