Bläddra i källkod

Fix ConfigWrapper sections

Bepis 7 år sedan
förälder
incheckning
0acf245fec
1 ändrade filer med 1 tillägg och 1 borttagningar
  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);
         }