<BUG>Settings.UPDATE_CHECKER.outdated.register(IUpgrader.NOW_UPGRADER);</BUG><CONTEXT>UIManager.setLookAndFeel(LOOK_AND_FEEL);RepaintManager.setCurrentManager(new MyRepaintManager());} catch (ParseException | UnsupportedLookAndFeelException ex) {HMCLog.warn("Failed to set look and feel...", ex);}<extra_id_0>Settings.UPDATE_CHECKER.process(false).reg(t -> Main.invokeUpdate()).execute();if (StrUtils.isNotBlank(Settings.getInstance().getProxyHost()) && StrUtils.isNotBlank(Settings.getInstance().getProxyPort()) && MathUtils.canParseInt(Settings.getInstance().getProxyPort())) {HMCLog.log("Initializing customized proxy");</CONTEXT>
Settings.UPDATE_CHECKER.outOfDateEvent.register(IUpgrader.NOW_UPGRADER);