mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-28 08:54:43 +00:00
fix merchant vendor grays
This commit is contained in:
@@ -83,15 +83,15 @@ function M:MERCHANT_SHOW()
|
|||||||
if IsShiftKeyDown() or autoRepair == "NONE" or not CanMerchantRepair() then return end
|
if IsShiftKeyDown() or autoRepair == "NONE" or not CanMerchantRepair() then return end
|
||||||
|
|
||||||
local cost, possible = GetRepairAllCost()
|
local cost, possible = GetRepairAllCost()
|
||||||
if cost > 0 then
|
local money = GetMoney()
|
||||||
if possible then
|
|
||||||
|
if cost > 0 and money >= cost and possible then
|
||||||
RepairAllItems(autoRepair == "PLAYER")
|
RepairAllItems(autoRepair == "PLAYER")
|
||||||
E:Print(L["Your items have been repaired for: "]..E:FormatMoney(cost, "BLIZZARD"))
|
E:Print(L["Your items have been repaired for: "]..E:FormatMoney(cost, "BLIZZARD"))
|
||||||
else
|
else
|
||||||
E:Print(L["You don't have enough money to repair."])
|
E:Print(L["You don't have enough money to repair."])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
function M:DisbandRaidGroup()
|
function M:DisbandRaidGroup()
|
||||||
if UnitInRaid("player") then
|
if UnitInRaid("player") then
|
||||||
|
|||||||
Reference in New Issue
Block a user