1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:19:56 +00:00

[Server] Send correct packet for inventory changes

This commit is contained in:
David Cernat 2017-11-19 04:24:54 +02:00
parent 4cc0216e0a
commit a3e2ab4d4e

View file

@ -185,7 +185,7 @@ void Player::update()
if (inventory.inventoryChangeType() != 0)
{
auto packet = plPCtrl->GetPacket(ID_PLAYER_EQUIPMENT);
auto packet = plPCtrl->GetPacket(ID_PLAYER_INVENTORY);
packet->setPlayer(this);
packet->Send(/*toOthers*/ false);
inventory.resetInventoryFlag();