mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 18:36:01 +00:00
loot: move client abstraction into compat files
This commit is contained in:
+1
-5
@@ -470,11 +470,7 @@ pfUI:RegisterModule("loot", function ()
|
||||
maxrarity = math.max(maxrarity, quality)
|
||||
maxwidth = math.max(maxwidth, slot.name:GetStringWidth())
|
||||
|
||||
if slot.SetSlot then
|
||||
slot:SetSlot(id)
|
||||
else
|
||||
slot:SetID(id)
|
||||
end
|
||||
slot[LOOT_BUTTON_SLOT_FUNCTION](slot, id)
|
||||
|
||||
slot:Enable()
|
||||
slot:Show()
|
||||
|
||||
Reference in New Issue
Block a user