mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2025-12-20 02:09:42 +05:00
Remove unnecessary syntax in Il2CppBinary.Load
This commit is contained in:
@@ -52,7 +52,7 @@ namespace Il2CppInspector
|
||||
if (type == null)
|
||||
return null;
|
||||
|
||||
var inst = (Il2CppBinary) Activator.CreateInstance(type, new object[] {stream});
|
||||
var inst = (Il2CppBinary) Activator.CreateInstance(type, stream);
|
||||
|
||||
// Try to process the IL2CPP image; return the instance if succeeded, otherwise null
|
||||
return inst.Initialize(metadataVersion) ? inst : null;
|
||||
|
||||
Reference in New Issue
Block a user