Fix extensions breaking if a non extension is in the extensions folder
This commit is contained in:
parent
25be06eb76
commit
dc85971315
@ -462,7 +462,7 @@ impl Extensions {
|
||||
let extension_path = extension?.path();
|
||||
|
||||
if extension_path.extension() != Some(OsStr::new("rhai")) {
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
info!("Loading extension {}", extension_path.display());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user