Clean up some issues #8

Merged
atomaka merged 3 commits from cleanup-conditionals into master 2021-02-08 18:34:29 -05:00
Showing only changes of commit f7684d4010 - Show all commits

View file

@ -50,7 +50,7 @@ function events:MERCHANT_SHOW(...)
-- Repair if we need to and merchant allows it
if CanMerchantRepair() and MyAddon.needsRepair() then
RepairAllItems(CanGuildBankRepair())
DEFAULT_CHAT_FRAME:AddMessage("Your items have been repaired")
print("Your items have been repaired")
end
end
@ -123,7 +123,7 @@ function MyAddon.sellGrayItems()
for slot = 1, GetContainerNumSlots(bag) do
local name = GetContainerItemLink(bag, slot)
if name and string.find(name, "ff9d9d9d") then
DEFAULT_CHAT_FRAME:AddMessage("Selling "..name)
print("Selling "..name)
UseContainerItem(bag, slot)
end
end