mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Code style and comment typo fix.
This commit is contained in:
parent
548876a9b6
commit
1fa099f402
@ -53,12 +53,11 @@ public static bool ImplementsInterface(this TypeDefinition td, TypeReference bas
|
||||
|
||||
try
|
||||
{
|
||||
TypeReference parent = typedef.BaseType;
|
||||
typedef = parent == null ? null : parent.Resolve();
|
||||
typedef = typedef.BaseType?.Resolve();
|
||||
}
|
||||
catch (AssemblyResolutionException)
|
||||
{
|
||||
// this can happen for pluins.
|
||||
// this can happen for plugins.
|
||||
//Console.WriteLine("AssemblyResolutionException: "+ ex.ToString());
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user