mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-31 13:42:59 +00:00 
			
		
		
		
	Update InventoryMethods to handle Inventories explicitly
This commit is contained in:
		| @@ -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; | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 hugeblank
					hugeblank