Core/Commands: Fixed crash in .go commands

Closes #22498
This commit is contained in:
Shauren
2018-09-23 22:57:33 +02:00
parent f8cfb5301b
commit b27a76969a

View File

@@ -83,7 +83,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;
}