mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update
This commit is contained in:
@@ -41,10 +41,10 @@ function mod:UpdateDataBarDimensions()
|
||||
self:UpdateReputationDimensions()
|
||||
end
|
||||
|
||||
function mod:PLAYER_LEVEL_UP(level, level2)
|
||||
function mod:PLAYER_LEVEL_UP()
|
||||
local maxLevel = 60
|
||||
if (level ~= maxLevel or not self.db.experience.hideAtMaxLevel) and self.db.experience.enable then
|
||||
self:UpdateExperience("PLAYER_LEVEL_UP", level)
|
||||
if (arg1 ~= maxLevel or not self.db.experience.hideAtMaxLevel) and self.db.experience.enable then
|
||||
self:UpdateExperience("PLAYER_LEVEL_UP", arg1)
|
||||
else
|
||||
self.expBar:Hide()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user