public void HandleConfirmTransaction(MinecraftClient client, IPacket packet) {
            var myPacket = (CBConfirmTransaction)packet;

            if (myPacket.Accepted)
                client.RaiseTransactionAccepted(myPacket.WindowID, myPacket.Actionnumber);
            else
                client.RaiseTransactionRejected(myPacket.WindowID, myPacket.Actionnumber);
        }