mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Remove unused parameter
This commit is contained in:
parent
76ce3796eb
commit
7347e5700d
@ -39,7 +39,7 @@ static bool ProcessSiteMethod(TypeDefinition td, MethodDefinition md)
|
|||||||
|
|
||||||
if (md.Body != null && md.Body.Instructions != null)
|
if (md.Body != null && md.Body.Instructions != null)
|
||||||
{
|
{
|
||||||
return ProcessMethodAttributes(td, md);
|
return ProcessMethodAttributes(md);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -62,7 +62,7 @@ public static bool HasServerClientAttribute(MethodDefinition md)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool ProcessMethodAttributes(TypeDefinition td, MethodDefinition md)
|
public static bool ProcessMethodAttributes(MethodDefinition md)
|
||||||
{
|
{
|
||||||
if (md.HasCustomAttribute<ServerAttribute>())
|
if (md.HasCustomAttribute<ServerAttribute>())
|
||||||
InjectServerGuard(md, true);
|
InjectServerGuard(md, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user