mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:50:43 -05:00
Additional null guard
This commit is contained in:
parent
78a22ead66
commit
5e881d263f
@ -27,7 +27,7 @@ namespace Aki.SinglePlayer.Utils.Insurance
|
|||||||
|
|
||||||
public void Init()
|
public void Init()
|
||||||
{
|
{
|
||||||
_items = Singleton<GameWorld>.Instance?.MainPlayer?.Profile?.Inventory?.AllRealPlayerItems.ToList();
|
_items = Singleton<GameWorld>.Instance?.MainPlayer?.Profile?.Inventory?.AllRealPlayerItems?.ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<AkiInsuredItemClass> GetTrackedItems()
|
public List<AkiInsuredItemClass> GetTrackedItems()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user