mirror of
https://github.com/DerTyp7/harvestdale-unity.git
synced 2025-10-30 13:07:10 +01:00
Drag
This commit is contained in:
@@ -60,7 +60,7 @@ public class Inventory : MonoBehaviour
|
||||
{
|
||||
InventoryItem invItem = items[i];
|
||||
Debug.Log(invItem);
|
||||
if (invItem.item == null)
|
||||
if (invItem?.item == null)
|
||||
{
|
||||
|
||||
int toAdd = Mathf.Min(item.maxStackSize, remainingCount);
|
||||
|
||||
Reference in New Issue
Block a user