mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 02:30:44 -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()
|
||||
{
|
||||
_items = Singleton<GameWorld>.Instance?.MainPlayer?.Profile?.Inventory?.AllRealPlayerItems.ToList();
|
||||
_items = Singleton<GameWorld>.Instance?.MainPlayer?.Profile?.Inventory?.AllRealPlayerItems?.ToList();
|
||||
}
|
||||
|
||||
public List<AkiInsuredItemClass> GetTrackedItems()
|
||||
|
Loading…
x
Reference in New Issue
Block a user