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:
parent
4cc0216e0a
commit
a3e2ab4d4e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue