Skip to content

Commit

Permalink
revert polearms inclusion for TG (3.4.1 removes them again)
Browse files Browse the repository at this point in the history
fix for rare queue error (cooldown can return nil shortly after loading screen)
  • Loading branch information
Road-block authored and Rottenbeer committed Jan 19, 2023
1 parent a2939e7 commit 6df4cc4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 32 deletions.
2 changes: 1 addition & 1 deletion ItemRack/ItemRack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ItemRackItems = {
}

ItemRack.NoTitansGrip = {
--["Polearms"] = 1, -- 3.3.5 / Wrath Classic support Polearm Titan's Grip
["Polearms"] = 1, -- reverted in 3.4.1 to block Polearms from Titan's Grip again
["Fishing Poles"] = 1,
["Staves"] = 1
}
Expand Down
1 change: 1 addition & 0 deletions ItemRack/ItemRackQueue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ end

function ItemRack.ItemNearReady(id)
local start,duration = GetItemCooldown(id)
if not tonumber(start) then return end -- can return nil shortly after loading screen
if start==0 or math.max(start + duration - GetTime(),0)<=30 then
return true
end
Expand Down
19 changes: 0 additions & 19 deletions ItemRack/ItemRack_Wrath.toc

This file was deleted.

12 changes: 0 additions & 12 deletions ItemRackOptions/ItemRackOptions_Wrath.toc

This file was deleted.

0 comments on commit 6df4cc4

Please sign in to comment.