First steps
This commit is contained in:
@@ -177,7 +177,7 @@ namespace Interactions
|
||||
// the correct item we're looking for
|
||||
var config = GameManager.Instance.GetSlotItemConfig(itemData);
|
||||
var allowed = config?.allowedItems ?? new List<PickupItemData>();
|
||||
if (PickupItemData.ListContainsEquivalent(allowed, itemToSlotData))
|
||||
if (itemToSlotData != null && PickupItemData.ListContainsEquivalent(allowed, itemToSlotData))
|
||||
{
|
||||
if (itemToSlot != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user