Core/Party: Fixes crash when leaving a party
This commit is contained in:
@@ -1460,6 +1460,9 @@ namespace Game.DungeonFinding
|
|||||||
|
|
||||||
public uint GetDungeonMapId(ObjectGuid guid)
|
public uint GetDungeonMapId(ObjectGuid guid)
|
||||||
{
|
{
|
||||||
|
if (!GroupsStore.ContainsKey(guid))
|
||||||
|
return 0;
|
||||||
|
|
||||||
uint dungeonId = GroupsStore[guid].GetDungeon(true);
|
uint dungeonId = GroupsStore[guid].GetDungeon(true);
|
||||||
uint mapId = 0;
|
uint mapId = 0;
|
||||||
if (dungeonId != 0)
|
if (dungeonId != 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user