From 5e881d263f5734955ff549101118c517ef036365 Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 7 Aug 2023 19:47:22 +0100 Subject: [PATCH] Additional null guard --- project/Aki.SinglePlayer/Utils/Insurance/InsuredItemManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Aki.SinglePlayer/Utils/Insurance/InsuredItemManager.cs b/project/Aki.SinglePlayer/Utils/Insurance/InsuredItemManager.cs index ef10fbb..ad1980d 100644 --- a/project/Aki.SinglePlayer/Utils/Insurance/InsuredItemManager.cs +++ b/project/Aki.SinglePlayer/Utils/Insurance/InsuredItemManager.cs @@ -27,7 +27,7 @@ namespace Aki.SinglePlayer.Utils.Insurance public void Init() { - _items = Singleton.Instance?.MainPlayer?.Profile?.Inventory?.AllRealPlayerItems.ToList(); + _items = Singleton.Instance?.MainPlayer?.Profile?.Inventory?.AllRealPlayerItems?.ToList(); } public List GetTrackedItems()