Bug: When hovering over an item with a pet of type not in the database get an item error.
davidcraig opened this issue ยท 1 comments
davidcraig commented
davidcraig commented
Fixed using the following code
-- Only load for the consumables item category
-- class 0 = consumables
-- subclass 5 = Food & Drink
if (itemClassID ~= 0 and itemSubClassID ~= 5) then
return -- void
end