metherul / Automaton

The open modpack platform.
Other
58 stars 14 forks source link

Null Reference Crash in ViewModel.ValidateMods #31

Closed metherul closed 5 years ago

metherul commented 5 years ago

MissingMods = new ObservableCollection<Mod>(Validation.GetMissingMods(sourceFiles)); crashes the application when no mods are missing.

Add null checker to Validation.GetMissingMods(sourceFiles);

metherul commented 5 years ago

Issue caused when the source directory contained no files.

metherul commented 5 years ago

Fixed