We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa54ad8 + 57a2ba9 commit 08b21f2Copy full SHA for 08b21f2
NetcodePatcher/CodeGen/ApplyPatchedAttributeILPP.cs
@@ -62,7 +62,7 @@ public override bool WillProcess(ICompiledAssembly compiledAssembly)
62
)
63
);
64
attr_AttributeUsage.ConstructorArguments.Add(
65
- new CustomAttributeArgument(assemblyDefinition.MainModule.ImportReference(typeof(AttributeTargets)), 4)
+ new CustomAttributeArgument(assemblyDefinition.MainModule.ImportReference(typeof(AttributeTargets)), 1)
66
67
cls_NetcodePatchedAttribute.CustomAttributes.Add(attr_AttributeUsage);
68
0 commit comments