api: add getItemContainer(int)

This commit is contained in:
Adam
2021-10-11 21:05:22 -04:00
parent 870933985d
commit 9dc779a5ef

View File

@@ -1182,10 +1182,21 @@ public interface Client extends GameEngine
*
* @param inventory the inventory type
* @return the item container
* @see InventoryID
*/
@Nullable
ItemContainer getItemContainer(InventoryID inventory);
/**
* Get an item container by id
*
* @param id the inventory id
* @return the item container
* @see InventoryID
*/
@Nullable
ItemContainer getItemContainer(int id);
/**
* Get all item containers
* @return