07.06.2022, 10:10
Check Error logs. If x object cannot be found you will get an error. I would change it like this:
Code:
if x and not string.find(x.tagcache or '', 'AUTO') then
grp.addtags(b, 'AUTO')
end