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; }