public void renderItem(int x, int y){
		if(inventory.size() > (y * width) + x){
		Item item = inventory.get((y * width) + x);
			if(item != null) {
				item.render(x * 48 + 16 + xOff + 4, y * 48 + 16 + yOff + 4, 24);
			}
		}
	}