time for a crusade against dialogs

This commit is contained in:
Anuken
2019-09-08 15:08:55 -04:00
parent 2cc627e7d0
commit c9f0a59339
44 changed files with 375 additions and 262 deletions

View File

@@ -61,12 +61,12 @@ public class Net{
}else if(error.equals("alreadyconnected") || error.contains("connection is closed")){
error = Core.bundle.get("error.alreadyconnected");
}else if(!error.isEmpty()){
error = Core.bundle.get("error.any") + "\n" + Strings.parseException(e, true);
error = Core.bundle.get("error.any");
isError = true;
}
if(isError){
ui.showError(Core.bundle.format("connectfail", error));
ui.showException("$error.any", e);
}else{
ui.showText("", Core.bundle.format("connectfail", error));
}