Core/Commands: Fixed crash in .go commands
Closes #22498 (cherry picked from commit b27a76969a2fdbf2e390f28478b9b8ccdb48e2bd)
This commit is contained in:
@@ -89,7 +89,7 @@ public:
|
||||
|
||||
if (!MapManager::IsValidMapCoord(loc) || sObjectMgr->IsTransportMap(loc.GetMapId()))
|
||||
{
|
||||
handler->PSendSysMessage(LANG_INVALID_TARGET_COORD, loc.GetPositionX(), loc.GetPositionY(), loc.GetPositionZ());
|
||||
handler->PSendSysMessage(LANG_INVALID_TARGET_COORD, loc.GetPositionX(), loc.GetPositionY(), loc.GetMapId());
|
||||
handler->SetSentErrorMessage(true);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user