mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-28 00:44:45 +00:00
oops maybe this is better
This commit is contained in:
@@ -85,11 +85,13 @@ function M:MERCHANT_SHOW()
|
|||||||
local cost, possible = GetRepairAllCost()
|
local cost, possible = GetRepairAllCost()
|
||||||
local money = GetMoney()
|
local money = GetMoney()
|
||||||
|
|
||||||
if cost > 0 and money >= cost and possible then
|
if possible then
|
||||||
RepairAllItems(autoRepair == "PLAYER")
|
if cost > 0 and money >= cost then
|
||||||
E:Print(L["Your items have been repaired for: "]..E:FormatMoney(cost, "BLIZZARD"))
|
RepairAllItems(autoRepair == "PLAYER")
|
||||||
else
|
E:Print(L["Your items have been repaired for: "]..E:FormatMoney(cost, "BLIZZARD"))
|
||||||
E:Print(L["You don't have enough money to repair."])
|
else
|
||||||
|
E:Print(L["You don't have enough money to repair."])
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user