Core/Dungeon Finder: Declare some functions private as those are not used outside LFGMgr. Also do not expose LFGDungeonData outside LFGMgr
This commit is contained in:
1 parent
f743424f63
commit
ec5d16db8a
6 files changed
+142
-99
No files matched your search
@@ -1725,7 +1725,7 @@ class spell_gen_luck_of_the_draw : public SpellScriptLoader
|
||||
return false;
|
||||
|
||||
Group* group = owner->GetGroup();
|
||||
if (!group || group->isLFGGroup())
|
||||
if (!group || !group->isLFGGroup())
|
||||
return false;
|
||||
|
||||
if (!sLFGMgr->selectedRandomLfgDungeon(owner->GetGUID()))
|
||||
|
||||
Reference in new issue
Block a user