Core/Maps: Replace some Instanceable() checks with IsDungeon()
Port From (https://github.com/TrinityCore/TrinityCore/commit/8466894d816f484f30cdbe47b980a142870c955e)
This commit is contained in:
@@ -1816,7 +1816,7 @@ namespace Game.Chat
|
||||
if (!target.GetMap().IsBattlegroundOrArena())
|
||||
target.SetBattlegroundEntryPoint();
|
||||
}
|
||||
else if (map.Instanceable())
|
||||
else if (map.IsDungeon())
|
||||
{
|
||||
Map targetMap = target.GetMap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user