Lua error with recent gold changes
Merathilis opened this issue ยท 4 comments
If you check the option: "Always Show Silver and Copper" you get a lua error if you mouseover the Gold Datatext:
3x XIV_Databar\modules\gold.lua:35: Usage: GetCoinText(amount, fontHeight) [C]: in function
GetCoinTextureString'
XIV_Databar\modules\gold.lua:35: in function <XIV_Databar\modules\gold.lua:12>
XIV_Databar\modules\gold.lua:187: in function <XIV_Databar\modules\gold.lua:174>`
With the latest update I am getting the following error:
14x XIV_Databar\modules\gold.lua:35: Usage: GetCoinText(amount, fontHeight)
[C]: in function `GetCoinTextureString'
XIV_Databar\modules\gold.lua:35: in function <XIV_Databar\modules\gold.lua:12>
XIV_Databar\modules\gold.lua:186: in function <XIV_Databar\modules\gold.lua:174>
Locals:
(*temporary) = "410781.99999999997108.0000000016298"
Thanks for a great addon.