fix merchant vendor grays

This commit is contained in:
Crum
2018-02-20 21:51:20 -06:00
parent b6f18c6823
commit fcad35aafe
+3 -3
View File
@@ -83,15 +83,15 @@ function M:MERCHANT_SHOW()
if IsShiftKeyDown() or autoRepair == "NONE" or not CanMerchantRepair() then return end
local cost, possible = GetRepairAllCost()
if cost > 0 then
if possible then
local money = GetMoney()
if cost > 0 and money >= cost and possible then
RepairAllItems(autoRepair == "PLAYER")
E:Print(L["Your items have been repaired for: "]..E:FormatMoney(cost, "BLIZZARD"))
else
E:Print(L["You don't have enough money to repair."])
end
end
end
function M:DisbandRaidGroup()
if UnitInRaid("player") then