NDui

NDui

359k Downloads

TBC-SortBag ignore

Delte opened this issue ยท 3 comments

commented

is there any posibility activate ignore SortBag for specific bags, atleast with script command? as i see ignore part is disabled in lua.
when i edited my SortBag.lua its work well with script command.

commented

Which specific? The ignore part is only available for blizzard bags index.
For example, when you open your all five bags, you can ignore one of them with that code.
But in ndui, all bag slots combine together, which makes the ignore code invalid.
And that's the reason why I commented out the ignore code in there.

commented

-- for i = #CONTAINERS, 1, -1 do

if you uncommented this part it works with
/run SetBagSlotFlag(bagId, LE_BAG_FILTER_FLAG_IGNORE_CLEANUP, Boolean)
/run SetBankBagSlotFlag(bagId, LE_BAG_FILTER_FLAG_IGNORE_CLEANUP, Boolean)

commented

As I said, this is meanless in NDui. It only makes sense on default separate bags.