mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
api: also show silver when gold is visible
This commit is contained in:
+1
-1
@@ -443,7 +443,7 @@ function pfUI.api.CreateGoldString(money)
|
||||
|
||||
local string = ""
|
||||
if gold > 0 then string = string .. "|cffffffff" .. gold .. "|cffffd700g" end
|
||||
if silver > 0 then string = string .. "|cffffffff " .. silver .. "|cffc7c7cfs" end
|
||||
if silver > 0 or gold > 0 then string = string .. "|cffffffff " .. silver .. "|cffc7c7cfs" end
|
||||
string = string .. "|cffffffff " .. copper .. "|cffeda55fc"
|
||||
|
||||
return string
|
||||
|
||||
Reference in New Issue
Block a user