Hi,
Quick question
If i do something like this
Code:
print(UnitMaxXP("player"))
local f = CreateFrame("Frame")
f:RegisterEvent("PLAYER_LEVEL_UP")
f:SetScript(
"OnEvent",
function()
print(UnitMaxXP("player"))
end
)
Shouldn't i get different prints? Because for some reason i get the same... Like there is some delay or something in updating new player xp cap... if i put timer in that function with 1-2 seconds i get new value of max xp.
Is that like normal behaviour?