Page 1 of 1

[2.x] player.get_quick_bar_slot(x) does not return quality

Posted: Sun Nov 17, 2024 8:42 am
by billbo99
When checking the quick bar filters I found that the current API does not return the item's quality in the filter slot.

Code: Select all

    for row = 1, quick_bar_rows do
        for _ = 1, 10 do
            local slot = player.get_quick_bar_slot(index)
            if slot then
                items[slot.name] = { target = slot.stack_size }
            end
            index = index + 1
        end
    end
get_quick_bar_slot.png
get_quick_bar_slot.png (40.51 KiB) Viewed 304 times
quickbar.png
quickbar.png (34 KiB) Viewed 304 times

Re: [2.x] player.get_quick_bar_slot(x) does not return quality

Posted: Fri Nov 22, 2024 9:42 pm
by Rseding91
Changed for 2.0.21.