tterrag1098 / BON2

A rewrite for Immibis's bearded-octo-nemesis for ForgeGradle
GNU Lesser General Public License v3.0
182 stars 50 forks source link

Added safety for removable drives. #39

Closed DaemonUmbra closed 6 years ago

DaemonUmbra commented 6 years ago

Added a check that will reset currentDir to the working directory if the saved openLoc was on a removable drive that has been removed.

This prevents a NullPointerException when the while loop attempts to walk up the hierarchy.