You're certain there isn't a hardcoded reference to _addon.G.BAR_TOOL_BACKPACK somewhere else in the code? If there is, then it'll try to do whatever with it, but realize it's nil and break. If that's the case, you need to add a nil check on it at that point.
|