From f9aae1d367b8e113470372934d9619ab1fdafb2b Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Fri, 8 Jan 2021 22:00:32 +0100 Subject: [PATCH] DLL: Fix TokenAttribute not being formatted as hex --- Il2CppInspector.Common/Outputs/AssemblyShims.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Il2CppInspector.Common/Outputs/AssemblyShims.cs b/Il2CppInspector.Common/Outputs/AssemblyShims.cs index 927c848..1de78af 100644 --- a/Il2CppInspector.Common/Outputs/AssemblyShims.cs +++ b/Il2CppInspector.Common/Outputs/AssemblyShims.cs @@ -211,7 +211,7 @@ namespace Il2CppInspector.Outputs // Add token attribute if (type.Definition != null) - mType.AddAttribute(module, tokenAttribute, ("Token", $"0x{type.Definition.token}")); + mType.AddAttribute(module, tokenAttribute, ("Token", $"0x{type.Definition.token:X8}")); return mType; }