Merge pull request #1626 from liyunfan1223/opcode-crash

Sell item opcode crash fix
This commit is contained in:
kadeshar 2025-09-11 15:04:25 +02:00 committed by GitHub
commit 92f1dbd3f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,7 +115,7 @@ void SellAction::Sell(Item* item)
uint32 botMoney = bot->GetMoney();
WorldPacket p;
WorldPacket p(CMSG_SELL_ITEM);
p << vendorguid << itemguid << count;
WorldPackets::Item::SellItem nicePacket(std::move(p));