Skip to content

Commit ce08211

Browse files
committed
GetLootMethod fix
1 parent b4ed690 commit ce08211

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

PersonalLootHelper-Core.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2476,7 +2476,7 @@ end
24762476

24772477
local function EnableOrDisable()
24782478
local inInstance, instanceType = IsInInstance()
2479-
local isPersonalLoot = (IsInGroup(LE_PARTY_CATEGORY_INSTANCE) or (IsInGroup() and GetLootMethod() == 'personalloot'))
2479+
local isPersonalLoot = (IsInGroup(LE_PARTY_CATEGORY_INSTANCE) or (IsInGroup() and C_PartyInfo.GetLootMethod() == 'personalloot'))
24802480
and (instanceType == "party" or instanceType == "raid")
24812481
local shouldBeEnabled = isPersonalLoot
24822482

PersonalLootHelper.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 100207, 110000, 110002
1+
## Interface: 110200
22
## Title: Personal Loot Helper
33
## Version: @project-version@
44
## SavedVariables: PLH_META, PLH_PREFS, PLH_STATS

0 commit comments

Comments
 (0)