From 76cefe366dc5275dca014beb2f7dcf8ebe069492 Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Tue, 24 Aug 2021 02:18:18 +0200 Subject: [PATCH] fix: correctly inject scopedObjects into Properties --- Dalamud/IoC/Internal/ServiceContainer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dalamud/IoC/Internal/ServiceContainer.cs b/Dalamud/IoC/Internal/ServiceContainer.cs index 6681c7ecb..d66f17f54 100644 --- a/Dalamud/IoC/Internal/ServiceContainer.cs +++ b/Dalamud/IoC/Internal/ServiceContainer.cs @@ -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;