refactor(Core): SendDirectMessage (#23230)
This commit is contained in:
parent
b737fc8b59
commit
a1c8e0f221
57 changed files with 236 additions and 236 deletions
|
|
@ -184,7 +184,7 @@ public:
|
|||
data << spellId;
|
||||
data << uint8(SPELL_FAILED_CUSTOM_ERROR);
|
||||
data << uint32(SPELL_CUSTOM_ERROR_CANT_BUILD_MORE_VEHICLES);
|
||||
player->GetSession()->SendPacket(&data);
|
||||
player->SendDirectMessage(&data);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue