end
-- aura stacks
if next(frame.stacks) then
- frame.stack:SetText(next(frame.stacks));
+ local _, amount = next(frame.stacks);
+ frame.stack:SetText(amount);
if not frame.stack:IsShown() then frame.stack:Show() end
elseif frame.stack:IsShown() then
frame.stack:Hide();