This commit is contained in:
Anuken
2019-10-16 23:08:07 -04:00
parent 95cda0d9ab
commit b804f7fa6e
2 changed files with 3 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ public class Mods implements Loadable{
file.copyTo(dest);
try{
loaded.add(loadMod(file, false));
loaded.add(loadMod(dest, false));
requiresReload = true;
}catch(IOException e){
dest.delete();

View File

@@ -41,11 +41,11 @@ public class ModsDialog extends FloatingDialog{
mods.reloadContent();
setup();
ui.loadfrag.hide();
}catch(Exception e){
}catch(Throwable e){
ui.showException(e);
}
});
}catch(Exception e){
}catch(Throwable e){
ui.showException(e);
}
}, t -> Core.app.post(() -> ui.showException(t)));