Further decreased save time and filesize 3x

This commit is contained in:
Anuken
2018-06-28 14:13:47 -04:00
parent b209f3e50d
commit 53cbc0fb8b
4 changed files with 8 additions and 32 deletions

View File

@@ -56,6 +56,7 @@ public class SaveDialog extends LoadDialog{
try{
slot.save();
}catch(Throwable e){
e.printStackTrace();
e = (e.getCause() == null ? e : e.getCause());
ui.showError("[orange]"+Bundles.get("text.savefail")+"\n[white]" + ClassReflection.getSimpleName(e.getClass()) + ": " + e.getMessage() + "\n" + "at " + e.getStackTrace()[0].getFileName() + ":" + e.getStackTrace()[0].getLineNumber());