Is anyone else experiencing issues with their sort by level and sort by role in the NPC window? I can sort by alphabet fine but the other two spit an error and no window opens.
Printable View
Is anyone else experiencing issues with their sort by level and sort by role in the NPC window? I can sort by alphabet fine but the other two spit an error and no window opens.
What's the error?
Whoops, forgot something!
Script Error: [string "scripts/data_library_4E.lua"]:7: attempt to index local 'v' (a nil value)
for level, and
Script Error: [string "scripts/data_library_4E.lua"]:11: attempt to index local 'v' (a nil value)
for role
It's caused by an NPC without anything in the Level/Role field. The code should cater for that. Hopefully the devs pick this up...
Thanks for reporting. It looks like the error is tied to fields being empty on load, and the label function in 4E not handling the "nil" condition. I've pushed a fix.
Regards,
JPG
Nice prompt resolution. Thanks as always!