Thread
:
attempt to compare number with nil
View Single Post
01-10-21, 06:17 AM
#
2
LudiusMaximus
A Rage Talon Dragon Guard
Join Date: Mar 2018
Posts: 322
GetXPExhaustion
returns nil when you are not rested. So instead of
Code:
if restedxp == 0
you have to do
Code:
if restedxp == nil
or just
Code:
if not restedxp
__________________
~ Be the change you want to see in the world... of warcraft interface! ~
Last edited by LudiusMaximus : 01-10-21 at
09:15 AM
.
LudiusMaximus
View Public Profile
Send a private message to LudiusMaximus
Find More Posts by LudiusMaximus