Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
scanForItemsFix
Fixes an error that occurs when scanning for scrap
| Last updated | 2 years ago |
| Total downloads | 250841 |
| Total rating | 9 |
| Categories | Mods |
| Dependency string | ThePotato-scanForItemsFix-1.0.4 |
| Dependants | 219 other packages depend on this package |
README
scanForItemsFix
This mod fixes the issue where the terminal outputs [scanForItems] instead of the scan results due to certain scrap values having a higher minimum value than the maximum value when the game tries to calculate the scrap value of an item.
The error
An error occured while post processing terminal text: System.ArgumentOutOfRangeException: 'minValue' cannot be greater than maxValue.
The fix
The fix is to simply check if the minimum value is greater than the maximum value and if so, set the minimum value to the maximum value.