At the moment, I don't think, cargBags is solely responsible for this taint, since it doesn't use any protected frames. I assume, the error is caused, because some protected frame interacts with cargBags / the inventory in some way that causes it to become protected.
Some questions to narrow down the issue:
Can you define 'occasionally' a bit more clearly?
How do you toggle your bags?
Which addons you are using could interfere with cargBags or the inventory in general?
Does it happen with the normal _Pernobilis or another layout? (Although your code looks good to me)
|