From d4a339f29aaec3a23ec531e2885ad735dcfe88b1 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sun, 27 Feb 2022 15:01:18 -0500 Subject: [PATCH] Core/Commands: Fixed wrong field being used to determine instance type in .lookup map id Port From (https://github.com/TrinityCore/TrinityCore/commit/279744efcd48394edeab2b3ac03fd2dd9a4175ab) --- Source/Game/Chat/Commands/LookupCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Chat/Commands/LookupCommands.cs b/Source/Game/Chat/Commands/LookupCommands.cs index f8f4bcbad..3aa3eacb7 100644 --- a/Source/Game/Chat/Commands/LookupCommands.cs +++ b/Source/Game/Chat/Commands/LookupCommands.cs @@ -805,7 +805,7 @@ namespace Game.Chat if (mapInfo.IsContinent()) ss.Append(handler.GetCypherString(CypherStrings.Continent)); - switch ((MapTypes)mapInfo.MapType) + switch (mapInfo.InstanceType) { case MapTypes.Instance: ss.Append(handler.GetCypherString(CypherStrings.Instance));