Files 1
Downloads 14,040
Favorites 95
My AddOns
View Bug Report
table index is nil
Bug #: 1969
File: InventoryMod
Date: 04/05/17 12:09 PM
By: Atlan
Status: Unconfirmed
You are probably not working in the mod any more but I still like to share the error I get:

Code:
user:/AddOns/InventoryMod/Filter.lua:205: table index is nil
stack traceback:
	user:/AddOns/InventoryMod/Filter.lua:205: in function '(main chunk)'
I comment out line 200 … 205 in Filter.lua

Code:
  [ITEMTYPE_ENCHANTING_RUNE_POTENCY] = {
    filter = function(slotData)
      do return InventoryMod.fn.FilterByItemtype(slotData, ITEMTYPE_ENCHANTING_RUNE_POTENCY) end
    end,
    name = "SI_ITEMTYPE",
  },
  --[ITEMTYPE_ALCHEMY_BASE] = {
    --filter = function(slotData)
      --do return InventoryMod.fn.FilterByItemtype(slotData, ITEMTYPE_ALCHEMY_BASE) end
    --end,
    --name = "SI_ITEMTYPE",
  --},
  [ITEMTYPE_COLLECTIBLE] = {
    filter = function(slotData)
      do return InventoryMod.fn.FilterByItemtype(slotData, ITEMTYPE_COLLECTIBLE) end
    end,
    name = "SI_ITEMTYPE",
  },
and removing the reference of ITEMTYPE_ALCHEMY_BASE from line 68 in InventoryMod.lua

Code:
        ITEMTYPE_WOODWORKING_BOOSTER, ITEMTYPE_WOODWORKING_MATERIAL, ITEMTYPE_WOODWORKING_RAW_MATERIAL, IM_FILTER_WOODWORKER,
        -- ITEMTYPE_ALCHEMY_BASE, ITEMTYPE_REAGENT, IM_FILTER_ALCHEMIST,
        ITEMTYPE_REAGENT, IM_FILTER_ALCHEMIST,
god rid of the error. Something is probably not working any more.