mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-25 00:20:16 +00:00
fix(mail): use attachment item guid for WotLK take item
This commit is contained in:
parent
5a10ae9df0
commit
5fa5020af5
6 changed files with 12 additions and 11 deletions
|
|
@ -22136,9 +22136,9 @@ void GameHandler::mailTakeMoney(uint32_t mailId) {
|
|||
socket->send(packet);
|
||||
}
|
||||
|
||||
void GameHandler::mailTakeItem(uint32_t mailId, uint32_t itemIndex) {
|
||||
void GameHandler::mailTakeItem(uint32_t mailId, uint32_t itemGuidLow) {
|
||||
if (state != WorldState::IN_WORLD || !socket || mailboxGuid_ == 0) return;
|
||||
auto packet = packetParsers_->buildMailTakeItem(mailboxGuid_, mailId, itemIndex);
|
||||
auto packet = packetParsers_->buildMailTakeItem(mailboxGuid_, mailId, itemGuidLow);
|
||||
socket->send(packet);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue