mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Readers: remove Weaver.CurrentAssembly reference
This commit is contained in:
parent
df716572f5
commit
2f7ce58dc7
@ -228,7 +228,7 @@ MethodDefinition GenerateReadCollection(TypeReference variable, TypeReference el
|
||||
|
||||
ModuleDefinition module = assembly.MainModule;
|
||||
TypeReference readerExtensions = module.ImportReference(typeof(NetworkReaderExtensions));
|
||||
MethodReference listReader = Resolvers.ResolveMethod(readerExtensions, Weaver.CurrentAssembly, readerFunction);
|
||||
MethodReference listReader = Resolvers.ResolveMethod(readerExtensions, assembly, readerFunction);
|
||||
|
||||
GenericInstanceMethod methodRef = new GenericInstanceMethod(listReader);
|
||||
methodRef.GenericArguments.Add(elementType);
|
||||
|
Loading…
Reference in New Issue
Block a user