瀏覽代碼

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

ghorsington 5 年之前
父節點
當前提交
c3b84c8139
共有 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;