Originally Posted by votan
Lua Code:
function FilterIt.GetSlotData(_iBagId, _iSlotId) local bIsBagSlotValid = false if (type(_iBagId) == "number") and(type(_iSlotId) == "number") then bIsBagSlotValid = _iBagId ~= BAG_BUYBACK end local slotData = nil if bIsBagSlotValid then slotData = SHARED_INVENTORY:GenerateSingleSlotData(_iBagId, _iSlotId) end return slotData or { stackCount = 0 } end
without much testing, but works.
|
I added it to FilteIt.lua
but stil got erros
need to replace other functions or add like new in the end?