Skip to content

Commit

Permalink
also classic
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuller committed Jul 20, 2024
1 parent abe7287 commit ffbe968
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dominos_Progress/xpBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ function ExperienceBar:Update()
end

function ExperienceBar:IsModeActive()
if type(IsPlayerAtEffectiveMaxLevel) == "function" and IsPlayerAtEffectiveMaxLevel() then
return false
end

if UnitLevel("player") == GetMaxLevelForPlayerExpansion() then
if UnitLevel("player") == (GetMaxLevelForPlayerExpansion or GetMaxPlayerLevel)() then
return false
end

Expand Down

0 comments on commit ffbe968

Please sign in to comment.