src/main/java/codes/biscuit/skyblockaddons/gui/SkyblockAddonsGui.java
/**
     * Save the config when exiting.
     */
Save the config when exiting.
Save the config when exiting .
@Override
    public void onGuiClosed() {
        if (!cancelClose) {
            if (tab == EnumUtils.GuiTab.GENERAL_SETTINGS) {
                main.getRenderListener().setGuiToOpen(PlayerListener.GUIType.MAIN, 1, EnumUtils.GuiTab.MAIN, featureSearchBar.getText());
            }
            main.getConfigValues().saveConfig();
            Keyboard.enableRepeatEvents(false);
        }
    }
@ Override public void onGuiClosed ( ) { if ( ! cancelClose ) { if ( tab == EnumUtils . GuiTab . GENERAL_SETTINGS ) { main . getRenderListener ( ) . setGuiToOpen ( PlayerListener . GUIType . MAIN , 1 , EnumUtils . GuiTab . MAIN , featureSearchBar . getText ( ) ) ; } main . getConfigValues ( ) . saveConfig ( ) ; Keyboard . enableRepeatEvents ( false ) ; } }
Save the config when exiting.
Save the config when exiting .