Created SimpleInventory and made InventoryUtil.addToInventory() respect the IInventory.getInventoryStackLimit() restriction.