It should show npc guilds now. Note that if you don't want to see these, just remove the `true` from the expression Guild(unit, true). Check the guild line, right side.
Scott Sibley [11-08-10 - 02:01]
It should show npc guilds now. Note that if you don't want to see these, just remove the `true` from the expression Guild(unit, true). Check the guild line, right side.
diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua
index b39a87b..1cb6390 100644
--- a/Modules/UnitTooltip/UnitTooltip.lua
+++ b/Modules/UnitTooltip/UnitTooltip.lua
@@ -110,8 +110,7 @@ return name and Colorize(name, r, g, b) or "None"
name = "Guild",
left = 'return "Guild:"',
right = [[
-guild = Guild(unit)
-if guild then return "<" .. guild .. ">" else return unitGuild end
+return Guild(unit, true)
]],
enabled = true
},