Browse Source

Performance improvements

Lortseam 4 years ago
parent
commit
0f69abbb51
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/src/main/java/me/lortseam/completeconfig/data/Config.java

+ 1 - 1
lib/src/main/java/me/lortseam/completeconfig/data/Config.java

@@ -75,7 +75,7 @@ public class Config extends BaseCollection {
      * Loads the config.
      */
     public void load() {
-        if (isEmpty()) {
+        if (!loaded && isEmpty()) {
             if (this instanceof ConfigContainer) {
                 resolve((ConfigContainer) this);
                 if (isEmpty()) {