mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-23 20:40:50 +00:00
panel: fix guild info without guild
This commit is contained in:
+5
-1
@@ -255,7 +255,11 @@ pfUI:RegisterModule("panel", function ()
|
|||||||
local online = GetNumGuildMembers()
|
local online = GetNumGuildMembers()
|
||||||
local all = GetNumGuildMembers(true)
|
local all = GetNumGuildMembers(true)
|
||||||
local click = function() ToggleFriendsFrame(3) end
|
local click = function() ToggleFriendsFrame(3) end
|
||||||
pfUI.panel:OutputPanel("guild", "Guild: "..online, nil, click)
|
if not GetGuildInfo("player") then
|
||||||
|
pfUI.panel:OutputPanel("guild", "Guild: N/A", nil, click)
|
||||||
|
else
|
||||||
|
pfUI.panel:OutputPanel("guild", "Guild: "..online, nil, click)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Update "durability"
|
-- Update "durability"
|
||||||
|
|||||||
Reference in New Issue
Block a user