    public void translate(ContainerClosePacket packet, GeyserSession session) {
        byte windowId = packet.getId();

        //Client wants close confirmation
        session.sendUpstreamPacket(packet);
        session.setClosingInventory(false);

        if (windowId == -1 && session.getOpenInventory() instanceof MerchantContainer) {
            // 1.16.200 - window ID is always -1 sent from Bedrock
            windowId = (byte) session.getOpenInventory().getId();
        }

        Inventory openInventory = session.getOpenInventory();
        if (openInventory != null) {
            if (windowId == openInventory.getId()) {
                ClientCloseWindowPacket closeWindowPacket = new ClientCloseWindowPacket(windowId);
                session.sendDownstreamPacket(closeWindowPacket);
                InventoryUtils.closeInventory(session, windowId, false);
            } else if (openInventory.isPending()) {
                InventoryUtils.displayInventory(session, openInventory);
                openInventory.setPending(false);
            }
        }
    }
When an actor claims to have a given identity, the software does not prove or insufficiently proves that the claim is correct.