From 1b38cb5e52c1dc4c03f225ae98c2fdd777b1919e Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Thu, 3 Sep 2026 18:50:17 +0200 Subject: [PATCH] Keep roll tracking on direct ClassicAPI item IDs --- mods/improved-roll-frames.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/improved-roll-frames.lua b/mods/improved-roll-frames.lua index b1b6e87..cb6b5c7 100644 --- a/mods/improved-roll-frames.lua +++ b/mods/improved-roll-frames.lua @@ -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