ryanbarr / harvest-monster

A tool to help you sell Path of Exile Harvest crafts on The Forbidden Trove.
https://www.harvestmonster.com
GNU General Public License v3.0
10 stars 1 forks source link

When the level 83 fallback is turned off, level can be parsed as NaN. #43

Closed ryanbarr closed 2 years ago

ryanbarr commented 2 years ago

Describe the bug When having the Level 83 fallback turned off, it's possible for a processed craft to determine it's level as NaN.

To Reproduce Steps to reproduce the behavior:

  1. Turn off the Level 83 fallback.
  2. Process a craft without the level present.
  3. Observe a potential NaN value.

Expected behavior When no level is found, the fallback should be an empty string.

Screenshots image

Additional context Reported by @bisby.