- if force or (not needItems and (not cached.talent or elapsed > 60)) or
- (needItems and (not cached.weapon or elapsed > 60)) then
+ if force or (not needItems and (cached.talent == nil or elapsed > 60)) or
+ (needItems and (cached.weapon == nil or elapsed > 60)) then