mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 03:06:01 +00:00
autovendor: one item per .1 second
This commit is contained in:
@@ -42,6 +42,9 @@ pfUI:RegisterModule("autovendor", function ()
|
||||
end)
|
||||
|
||||
autovendor:SetScript("OnUpdate", function()
|
||||
-- throttle to to one item per .1 second
|
||||
if ( this.tick or 1) > GetTime() then return else this.tick = GetTime() + .1 end
|
||||
|
||||
local bag, slot = GetNextGreyItem()
|
||||
|
||||
if not bag or not slot then
|
||||
|
||||
Reference in New Issue
Block a user