Преглед на файлове

Make ToPluginInfo public (#81)

Keelhauled преди 5 години
родител
ревизия
81b2127e7a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      BepInEx/Bootstrap/Chainloader.cs

+ 1 - 1
BepInEx/Bootstrap/Chainloader.cs

@@ -87,7 +87,7 @@ namespace BepInEx.Bootstrap
 
 		private static Regex allowedGuidRegex { get; } = new Regex(@"^[a-zA-Z0-9\._]+$");
 
-        private static PluginInfo ToPluginInfo(TypeDefinition type)
+        public static PluginInfo ToPluginInfo(TypeDefinition type)
 		{
 			if (type.IsInterface || type.IsAbstract || !type.IsSubtypeOf(typeof(BaseUnityPlugin)))
 				return null;