Keep roll tracking on direct ClassicAPI item IDs

This commit is contained in:
Dusk-92
2026-09-03 18:50:17 +02:00
parent 4aa49f3a38
commit 1b38cb5e52
+2 -2
View File
@@ -132,7 +132,7 @@ module.enable = function(self)
local frame = ShaguTweaks.roll.frames[i]
if frame and frame:IsVisible() and frame.rollID
and not frame.historyRollID then
local itemID = frame.itemID or API.GetLootRollItemID(frame.rollID)
local itemID = frame.itemID or _G.GetLootRollItemID(frame.rollID)
local historyRollID, itemIndex =
FindUnclaimedHistory(itemID, claimed)
@@ -414,7 +414,7 @@ module.enable = function(self)
frame.rollID = id
frame.rollTime = rollTime
frame.historyRollID = nil
frame.itemID = API.GetLootRollItemID(id)
frame.itemID = _G.GetLootRollItemID(id)
ShaguTweaks.roll:UpdateLootRoll(available)
end
end