public void addItem(Item item) {
		boolean added = false;
		
		if(item.isStackable()) {
			for(Item i : items) {
				if(i.equals(item)) {
					i.addQuantity(item.getQuantity());
					added = true;
					break;
				}
			}
		}
		
		if(!added) {
			items.add(item);
		}
		
		dirty = true;
	}