This commit is contained in:
sinaioutlander 2020-08-07 22:47:31 +10:00
parent c177c12656
commit 6c6f06f600
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -444,7 +444,10 @@ namespace Explorer
}
}
propInfo.SetValue(propInfo.GetAccessors()[0].IsStatic ? null : obj, m_value, null);
var declaring = propInfo.DeclaringType;
var cast = CppExplorer.Il2CppCast(obj, declaring);
propInfo.SetValue(propInfo.GetAccessors()[0].IsStatic ? null : cast, m_value, null);
}
catch
{