bests.conjuredFood and bests.food have stopped working in WoW Classic
missing-string opened this issue ยท 3 comments
Describe the bug
Food does not show up as the macro in WoW Classic at the moment. My drink one works flawlessly, but the food one has stopped working. The code between the two are almost identical with just replacements for the relevant item type. Whether I have conjured food or normal food in my inventory, it just shows the 1 icon (a question mark) permanently.
Drink
local bests = ...
local drink = bests.conjuredDrink or bests.drink
local body = "#showtooltip\n/use "
body = body .. "item:" .. (drink or "1")
return body
Eat
local bests = ...
local drink = bests.conjuredFood or bests.food
local body = "#showtooltip\n/use "
body = body .. "item:" .. (eat or "1")
return body
To Reproduce
Use the above "Eat" macro and summon some food/buy some food from a vendor.
Related Item
N/A - all food affected.
Language
English
There is a typo in your food macro, second line should be :
local eat = bests.conjuredFood or bests.food
since you use the "eat" variable in last line.