Browse Source

Fix build errors

ghorsington 5 years ago
parent
commit
51984cdfff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      BepInEx/Contract/BaseUnityPlugin.cs

+ 1 - 1
BepInEx/Contract/BaseUnityPlugin.cs

@@ -21,7 +21,7 @@ namespace BepInEx
 		{
 		{
 			var metadata = MetadataHelper.GetMetadata(this);
 			var metadata = MetadataHelper.GetMetadata(this);
 
 
-			Info = Chainloader.Plugins[metadata.GUID];
+			Info = Chainloader.PluginInfos[metadata.GUID];
 
 
 			Logger = Logging.Logger.CreateLogSource(metadata.Name);
 			Logger = Logging.Logger.CreateLogSource(metadata.Name);