code: public void removeInventory(MalisisInventory inventory)
  	{
  		checkNotNull(inventory);
  		inventory.removeOpenedContainer(this);
  		inventories.remove(inventory.getInventoryId());
  		if (isServer())
  			inventoryCaches.remove(inventory);
  	}
docs: Removes the {@link MalisisInventory} from this {@link MalisisInventoryContainer}.
  
  @param inventory the inventory