Skip to content

Commit 4eecec5

Browse files
committed
fix slash command
1 parent 241fcbf commit 4eecec5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

PersonalLootHelper-Core.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2576,8 +2576,7 @@ function SlashCmdList.PLHCommand(msg)
25762576
-- lootedItemsFrame:Show()
25772577
-- end
25782578
if msg == nil or msg == '' or string.upper(msg) == 'CONFIG' then
2579-
InterfaceOptionsFrame_OpenToCategory('Personal Loot Helper')
2580-
InterfaceOptionsFrame_OpenToCategory('Personal Loot Helper') -- hack; called twice to get around Blizz bug of it not opening to correct page right away
2579+
Settings.OpenToCategory('Personal Loot Helper')
25812580
elseif string.upper(msg) == 'SHOW' then
25822581
lootedItemsFrame:Show()
25832582
elseif string.upper(msg) == 'HIDE' then

0 commit comments

Comments
 (0)