瀏覽代碼

Performance improvements

Lortseam 4 年之前
父節點
當前提交
0f69abbb51
共有 1 個文件被更改,包括 1 次插入1 次删除
  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()) {