If a user unmounts the drive modsPath is on, cacheDataFolders which calls findPlugins will attempt to use fh.getDirectories and fail with an exception, causing an infinite loading screen. Correct behavior should be to use the game data folder when the modsPath cannot be resolved and present an error message to the user.
If a user unmounts the drive
modsPath
is on,cacheDataFolders
which callsfindPlugins
will attempt to usefh.getDirectories
and fail with an exception, causing an infinite loading screen. Correct behavior should be to use the game data folder when the modsPath cannot be resolved and present an error message to the user.