I have been playing around with equipping gear in the gear UI but I am not able to use the inventory functions that are built in, the reason for this is when I call for example
getInventory().getItem(id).interact(action);
The script closes the UI, opens the inventory page and equips it there. How Can I equip the gear from this page without this odd interaction?
Another reason I find this strange is that when in the bank, the inventory functions still work fine but it only seems to be in this UI.