diff --git a/QSB/QSBCore.cs b/QSB/QSBCore.cs index d948bcf7..3e5d9e4c 100644 --- a/QSB/QSBCore.cs +++ b/QSB/QSBCore.cs @@ -124,14 +124,20 @@ namespace QSB foreach (var path in Directory.EnumerateFiles(Helper.Manifest.ModFolderPath, "*.dll")) { var assembly = Assembly.LoadFile(path); + if (Path.GetFileNameWithoutExtension(path) == "ProxyScripts") + { + continue; + } + DebugLog.DebugWrite(assembly.ToString()); - assembly.GetTypes() + assembly + .GetTypes() .SelectMany(x => x.GetMethods(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.DeclaredOnly)) .Where(x => x.IsDefined(typeof(RuntimeInitializeOnLoadMethodAttribute))) .ForEach(x => x.Invoke(null, null)); } - DebugLog.DebugWrite($"Assemblies initialized", MessageType.Success); + DebugLog.DebugWrite("Assemblies initialized", MessageType.Success); } public override void Configure(IModConfig config) => DefaultServerIP = config.GetSettingsValue("defaultServerIP"); @@ -178,4 +184,4 @@ namespace QSB * Daft Punk * Natalie Holt * WMD - */ + */ \ No newline at end of file diff --git a/QSB/manifest.json b/QSB/manifest.json index 83f5ba44..bea7f95a 100644 --- a/QSB/manifest.json +++ b/QSB/manifest.json @@ -7,7 +7,7 @@ "body": "- Disable *all* other mods. (Can heavily affect performance)\n- Make sure you are not running any other network-intensive applications.\n- Make sure you have forwarded/opened the correct ports. (See the GitHub readme.)" }, "uniqueName": "Raicuparta.QuantumSpaceBuddies", - "version": "0.17.0", + "version": "0.17.1", "owmlVersion": "2.3.2", "dependencies": [ "_nebula.MenuFramework" ] }