Fix held item not always being changed to the new held item (#45)

Co-authored-by: Marioiscool246 <marioiscool101@gmail.com>
This commit is contained in:
Marioiscool246
2023-08-09 08:29:02 -04:00
committed by GitHub
parent a2a33e7988
commit 7ebf2be8a9
2 changed files with 0 additions and 2 deletions

View File

@@ -353,7 +353,6 @@ void ClientSideNetworkHandler::handle(const RakNet::RakNetGUID& rakGuid, PlayerE
}
pPlayer->m_pInventory->selectItemById(pPlayerEquipmentPkt->m_itemID);
pPlayer->m_pInventory->selectSlot(0);
}
bool ClientSideNetworkHandler::areAllChunksLoaded()

View File

@@ -279,7 +279,6 @@ void ServerSideNetworkHandler::handle(const RakNet::RakNetGUID& guid, PlayerEqui
}
pPlayer->m_pInventory->selectItemById(packet->m_itemID);
pPlayer->m_pInventory->selectSlot(0);
redistributePacket(packet, guid);
}