File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/main/java/io/github/thatsmusic99/configurationmaster Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -135,13 +135,13 @@ public void reload() {
135135 * @see #moveTo(String, String)
136136 * @see #moveToNew()
137137 * - Saves defaults to the configuration file.
138- * - Anything required to happen post-save happens.
139- * @see #postSave()
140138 * - Loads the config header.
141139 * @see #loadTitle()
142140 * - Writes all comments.
143141 * @see #writeComments()
144142 * - Saves the final results.
143+ * - Anything required to happen post-save happens.
144+ * @see #postSave()
145145 */
146146 public void load () {
147147 // Creates the config file object
@@ -186,8 +186,6 @@ public void load() {
186186 // Save the current default options.
187187 config .options ().copyDefaults (true );
188188 save (true );
189- // Do anything the plugin requires to do following saving of a config file.
190- postSave ();
191189 // Load the config title.
192190 loadTitle ();
193191 // Write all the comments.
@@ -200,7 +198,8 @@ public void load() {
200198 } catch (Exception e ) {
201199 e .printStackTrace ();
202200 }
203-
201+ // Do anything the plugin requires to do following saving of a config file.
202+ postSave ();
204203 }
205204
206205 /**
You can’t perform that action at this time.
0 commit comments