From 8391db6aca793c2dbc2b76ca5e1161c97ad5b9d6 Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 30 Sep 2018 13:45:24 +0200 Subject: [PATCH] panel: add missing inpairs() --- modules/panel.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/panel.lua b/modules/panel.lua index 4f68f7db..253af486 100644 --- a/modules/panel.lua +++ b/modules/panel.lua @@ -243,7 +243,7 @@ pfUI:RegisterModule("panel", function() GameTooltip:AddDoubleLine(T["Login"] .. ":", CreateGoldString(pfUI.panel.initMoney)) GameTooltip:AddDoubleLine(T["Now"] .. ":", CreateGoldString(GetMoney())) GameTooltip:AddDoubleLine("|cffffffff","") - for name, gold in pfUI_cache["gold"][GetRealmName()] do + for name, gold in pairs(pfUI_cache["gold"][GetRealmName()]) do if name ~= UnitName("player") then GameTooltip:AddDoubleLine(name .. ":", CreateGoldString(gold)) end