Fixed many various things

This commit is contained in:
Anuken
2018-11-07 22:37:34 -05:00
parent 7488dc3ebb
commit cf50d558ba
11 changed files with 36 additions and 32 deletions

View File

@@ -23,6 +23,16 @@ public class CrashHandler{
public static void handle(Throwable e){
e.printStackTrace();
try{
//check crash report setting
if(!Settings.getBool("crashreport")){
return;
}
}catch(Throwable ignored){
//don't send since we don't know if the user has the setting set
return;
}
if(!OS.isMac){
try{
javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName());