mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04:00
Prevent inventory requests from making LocalPlayer send inventory twice
This commit is contained in:
parent
7fae28ce91
commit
80b40bfb70
@ -291,9 +291,7 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
|
||||
{
|
||||
if (packet->length == myPacket->headerSize())
|
||||
{
|
||||
printf("ID_GAME_INVENTORY update only\n");
|
||||
getLocalPlayer()->updateInventory(true);
|
||||
getPlayerPacket(ID_GAME_INVENTORY)->Send(getLocalPlayer());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user