Jelajahi Sumber

Fix ConfigWrapper sections

Bepis 7 tahun lalu
induk
melakukan
0acf245fec
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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);
         }