Przeglądaj źródła

Fix ConfigWrapper sections

Bepis 7 lat temu
rodzic
commit
0acf245fec
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      BepInEx/ConfigWrapper.cs

+ 1 - 1
BepInEx/ConfigWrapper.cs

@@ -52,7 +52,7 @@ namespace BepInEx
             if (!Exists)
                 return Default;
 
-            var strVal = Config.GetEntry(Key, Section);
+            var strVal = Config.GetEntry(Key, null, Section);
             return (T)_converter.ConvertFrom(strVal);
         }