refactor(Core): SendDirectMessage (#23230)

This commit is contained in:
天鹭 2025-10-31 01:21:26 +08:00 committed by GitHub
parent b737fc8b59
commit a1c8e0f221
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
57 changed files with 236 additions and 236 deletions

View file

@ -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;
}