Core/Commands: Fixed .go zonexy command
Port From (https://github.com/TrinityCore/TrinityCore/commit/5274f5ea545d19d0aa1a0f26b3c09c1585862304)
This commit is contained in:
@@ -417,6 +417,9 @@ namespace Game.Chat.Commands
|
||||
return false;
|
||||
}
|
||||
|
||||
x /= 100.0f;
|
||||
y /= 100.0f;
|
||||
|
||||
Global.DB2Mgr.Zone2MapCoordinates(areaEntry.ParentAreaID != 0 ? areaEntry.ParentAreaID : areaId, ref x, ref y);
|
||||
|
||||
if (!GridDefines.IsValidMapCoord(zoneEntry.ContinentID, x, y))
|
||||
|
||||
Reference in New Issue
Block a user