Преглед изворни кода

Fix ConfigWrapper sections

Bepis пре 7 година
родитељ
комит
0acf245fec
1 измењених фајлова са 1 додато и 1 уклоњено
  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);
         }