This may not be an issue (I don't know how often the function is called), but this is very expensive. Instead you should do:
```lua
local items = windower.ffxi.get_items()
```
Then use `items.equipment`, `items.inventory` and `items.wardrobe` instead. This way `get_items` gets called three times, and it's a really expensive function, as it has to push all items in all your inventories on the Lua stack.