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); file.copyTo(dest);
try{ try{
loaded.add(loadMod(file, false)); loaded.add(loadMod(dest, false));
requiresReload = true; requiresReload = true;
}catch(IOException e){ }catch(IOException e){
dest.delete(); dest.delete();

View File

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