|
@@ -62,10 +62,10 @@ namespace BepInEx.Configuration
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
- public ConfigFile(string configPath, bool saveOnInit, BaseUnityPlugin owner = null)
|
|
|
+
|
|
|
+ public ConfigFile(string configPath, bool saveOnInit, BepInPlugin ownerMetadata = null)
|
|
|
{
|
|
|
- _ownerMetadata = owner?.Info.Metadata;
|
|
|
+ _ownerMetadata = ownerMetadata;
|
|
|
|
|
|
if (configPath == null) throw new ArgumentNullException(nameof(configPath));
|
|
|
configPath = Path.GetFullPath(configPath);
|