1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-29 08:42:17 +00:00

Merge pull request #63 from hugeblank/fabric

Update InventoryMethods to handle Inventories explicitly, sent with the joint approval of toad-dev
This commit is contained in:
hugeblank
2021-06-16 00:41:26 -07:00
committed by GitHub

View File

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