fix: correctly inject scopedObjects into Properties

This commit is contained in:
goat 2021-08-24 02:18:18 +02:00
parent 0dcfd0d31a
commit 76cefe366d
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -86,7 +86,7 @@ namespace Dalamud.IoC.Internal
var instance = FormatterServices.GetUninitializedObject(objectType);
if (!this.InjectProperties(instance, resolvedParams))
if (!this.InjectProperties(instance, scopedObjects))
{
Log.Error("Failed to create {TypeName}, a requested property service type could not be satisfied", objectType.FullName);
return null;