Core/Commands: Fixed wrong field being used to determine instance type in .lookup map id
Port From (https://github.com/TrinityCore/TrinityCore/commit/279744efcd48394edeab2b3ac03fd2dd9a4175ab)
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user