Hi there, just recently looked into this extension and I'm currently having an issue when trying to generate loot. I keep getting this error

[ERROR] Script execution error: [string "5E_Random-Treasure:scripts/gen_treas.lua"]:186: attempt to index field 'npcs' (a nil value)

I tried disabling all other extensions and still got it. It references this; "for i,j in ipairs(window.npcs.getWindows()) do" (can post the full script chunk if needed but this is the line it says specifically from the lua)

I am using VeX's random treasure tables and trinket horde if that makes any difference

Any ideas?