Core/Maps: Link instance map to LfgDungeons
Port From (https://github.com/TrinityCore/TrinityCore/commit/81276097648abe484d720c8ee9e3e77173825c8c)
This commit is contained in:
@@ -1323,7 +1323,7 @@ namespace Game.DungeonFinding
|
||||
|
||||
player.FinishTaxiFlight();
|
||||
|
||||
if (!player.TeleportTo(mapid, x, y, z, orientation))
|
||||
if (!player.TeleportTo(new Game.Entities.TeleportLocation(){ Location = new WorldLocation(mapid, x, y, z, orientation), LfgDungeonsId = dungeon.id }))
|
||||
error = LfgTeleportResult.NoReturnLocation;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user