#(prodbyexiled) item_in_offhand return lore?

17 messages · Page 1 of 1 (latest)

wheat slate
#

so i wanna insert a new line of lore to existing lore using ListTags to an item in the offhand. i know thats possible for <item_in_hand.lore>, but what about <item_in_offhand.lore>? when i try offhand, it doesnt seem to return the lore properly, at least for me. does <item_in_offhand not count as an itemtag? or am i just doing it wrong

lethal sedgeBOT
#

(prodbyexiled) item_in_offhand return lore?

lethal sedgeBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

glass night
#

<item_in_offhand isn't a tag base, you need to connect it to an entity first before using it (<player.item_in_offhand for instance)

wheat slate
glass night
#

If that doesn't work,

#

!debug

karmic garnetBOT
# glass night !debug
Info: debug

If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!

wheat slate
#

look at line 689

#

i ran an ex command

glass night
#

It looks like you're adjusting the item in your main hand, not your offhand

#

You're getting the right info, but passing it somewhere else

wheat slate
#

yikes idk how i missed that

glass night
#

No worries, it happens 🙂

wheat slate
#

thanks a ton