i dont see reason of this error

This commit is contained in:
2026-03-28 18:37:02 +02:00
parent 5783fb93f3
commit ba3ed3b4dd
2 changed files with 12 additions and 8 deletions

View File

@@ -99,6 +99,7 @@ void ClientSideNetworkHandler::onUnableToConnect()
void ClientSideNetworkHandler::onDisconnect(const RakNet::RakNetGUID& guid)
{
// TODO: Good disconnecting
LOGI("onDisconnect\n");
if (level)
{
@@ -398,7 +399,6 @@ void ClientSideNetworkHandler::handle(const RakNet::RakNetGUID& source, MovePlay
void ClientSideNetworkHandler::handle(const RakNet::RakNetGUID& source, SendInventoryPacket* packet) {
if (!level) return;
// TODO: Linked slots
if (packet->entityId == minecraft->player->entityId) {
auto items = packet->items;