Quellcode durchsuchen

Merge branch 'overhaul-chainloder-cecil' of https://github.com/BepInEx/BepInEx into overhaul-chainloder-cecil

ghorsington vor 5 Jahren
Ursprung
Commit
c3b84c8139
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 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)))
 			if (type.IsInterface || type.IsAbstract || !type.IsSubtypeOf(typeof(BaseUnityPlugin)))
 				return null;
 				return null;