When trying to add some fish to my pet's diet, I receive the following error:
Code:
GFW_FeedOMatic\FeedOMatic.lua:1560: bad argument #1 to `find' (string expected, got nil)
The error is referring to the following function which somehow has the ItemLinks all screwy:
Code:
function FOM_IDFromLink(itemLink)
local _, _, itemID = string.find(itemLink, "item:(%d+):%d+:%d+:%d+");
if (tonumber(itemID)) then
return tonumber(itemID);
else
return nil;
end
end
Thanks for the great mod