Bugfixes
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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)));
|
||||||
|
|||||||
Reference in New Issue
Block a user