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

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));