mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Fix errors remaining from merge with tes3mp-packetexpansion, part 2
This commit is contained in:
parent
b06a2f3119
commit
3380c482c0
@ -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…
x
Reference in New Issue
Block a user