mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-11 20:49:44 +01:00
Core/LFG: Filter out lfg dungeons that have invalid map/difficulty pairs
This commit is contained in:
@@ -198,6 +198,9 @@ void LFGMgr::LoadLFGDungeons(bool reload /* = false */)
|
||||
if (!dungeon)
|
||||
continue;
|
||||
|
||||
if (!sDB2Manager.GetMapDifficultyData(dungeon->MapID, Difficulty(dungeon->DifficultyID)))
|
||||
continue;
|
||||
|
||||
switch (dungeon->TypeID)
|
||||
{
|
||||
case LFG_TYPE_DUNGEON:
|
||||
|
||||
Reference in New Issue
Block a user