mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 19:19:59 +00:00
panel: fix wrong event in exp module
This commit is contained in:
+1
-1
@@ -164,7 +164,7 @@ pfUI:RegisterModule("panel", function()
|
||||
do -- XP & Kills To Level
|
||||
local widget = CreateFrame("Frame", "pfPanelWidgetXP", UIParent)
|
||||
widget:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||
widget:RegisterEvent("PLAYER_MONEY")
|
||||
widget:RegisterEvent("PLAYER_XP_UPDATE")
|
||||
widget:SetScript("OnEvent", function()
|
||||
if UnitLevel("player") ~= 60 then
|
||||
curexp = UnitXP("player")
|
||||
|
||||
Reference in New Issue
Block a user