mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10671] Convert some Unit owner/etc guids to ObjectGuid way.
This commit is contained in:
parent
92d98b9fb2
commit
a32d68febd
18 changed files with 154 additions and 149 deletions
|
|
@ -2174,7 +2174,7 @@ bool ChatHandler::HandleNpcTameCommand(char* /*args*/)
|
|||
|
||||
Player *player = m_session->GetPlayer ();
|
||||
|
||||
if (player->GetPetGUID())
|
||||
if (!player->GetPetGuid().IsEmpty())
|
||||
{
|
||||
SendSysMessage(LANG_YOU_ALREADY_HAVE_PET);
|
||||
SetSentErrorMessage(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue