* @param i Item to remove.
* @throws ItemNotFoundException
*/
public void removeFromInventory(Item i) throws ItemNotFoundException {
if(!inventory.contains(i))
throw new ItemNotFoundException();
totalWeight -= i.getWeight();
// inventory.remove(i);//needs compatibility fix with Inventory.java
}