Core/Maps: Link instance map to LfgDungeons

Port From (https://github.com/TrinityCore/TrinityCore/commit/81276097648abe484d720c8ee9e3e77173825c8c)
This commit is contained in:
Hondacrx
2024-11-10 17:37:17 -05:00
parent 9cb6940f7b
commit 06979399fb
5 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -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