1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-28 00:12:16 +00:00

Update InventoryMethods to handle Inventories explicitly

This commit is contained in:
hugeblank 2021-06-16 00:20:35 -07:00
parent be95b65488
commit bf87d7faa1

View File

@ -290,6 +290,10 @@ public class InventoryMethods implements GenericSource
return ItemStorage.wrap( inventory );
}
}
else if ( object instanceof Inventory )
{
return ItemStorage.wrap( (Inventory) object );
}
return null;
}