Bug Closed · Resolved

setItemNBT slot parameter doesn't support placeholders

#10171 opened by CarrotChomps 3 days ago

CarrotChompsreported this bug

The following mechanic fails to execute

setItemNBT{key=item_level_xp;value=float/<caster.item.<item.equip.slot>.nbt.item_level_xp|0> + <skill.amount>;slot=<item.equip.slot>} @self

where if <item.equip.slot> is set to 'HEAD', it works.

Sign in to join the discussion.