mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 23:45:32 +00:00
Fix errors remaining from merge with tes3mp-packetexpansion, part 2
This commit is contained in:
parent
b06a2f3119
commit
3380c482c0
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ void ItemFunctions::SendInventory(unsigned short pid) noexcept
|
|||
Player *player;
|
||||
GET_PLAYER(pid, player, );
|
||||
std::swap(player->inventory, player->inventorySendBuffer);
|
||||
mwmp::Networking::Get().GetController()->GetPacket(ID_GAME_INVENTORY)->Send(player, false);
|
||||
mwmp::Networking::Get().GetPlayerController()->GetPacket(ID_GAME_INVENTORY)->Send(player, false);
|
||||
player->inventory = std::move(player->inventorySendBuffer);
|
||||
player->inventorySendBuffer.items.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue