    public void translate(ServerWindowItemsPacket packet, GeyserSession session) {
        Inventory inventory = InventoryUtils.getInventory(session, packet.getWindowId());
        if (inventory == null)
            return;

        inventory.setStateId(packet.getStateId());

        for (int i = 0; i < packet.getItems().length; i++) {
            GeyserItemStack newItem = GeyserItemStack.from(packet.getItems()[i]);
            inventory.setItem(i, newItem, session);
        }

        InventoryTranslator translator = session.getInventoryTranslator();
        if (translator != null) {
            translator.updateInventory(session, inventory);
        }

        session.getPlayerInventory().setCursor(GeyserItemStack.from(packet.getCarriedItem()), session);
        InventoryUtils.updateCursor(session);
    }
When an actor claims to have a given identity, the software does not prove or insufficiently proves that the claim is correct.