From e7b54f8e08b583398fa01c3b710442738af1abc4 Mon Sep 17 00:00:00 2001 From: Lexi Date: Wed, 13 Sep 2023 08:40:17 -0400 Subject: [PATCH] Fix a bug I noticed in the PluginRegister.cs file --- SpaceWarp.Core/Backend/Modding/PluginRegister.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SpaceWarp.Core/Backend/Modding/PluginRegister.cs b/SpaceWarp.Core/Backend/Modding/PluginRegister.cs index 36f4f353..ca20081f 100644 --- a/SpaceWarp.Core/Backend/Modding/PluginRegister.cs +++ b/SpaceWarp.Core/Backend/Modding/PluginRegister.cs @@ -237,7 +237,7 @@ private static void RegisterSingleSpaceWarpPlugin(BaseSpaceWarpPlugin plugin) var directoryInfo = new FileInfo(modInfoPath).Directory; var descriptor = new SpaceWarpPluginDescriptor( plugin, - plugin.Info.Metadata.GUID, + metadata.ModID, metadata.Name, metadata, directoryInfo, @@ -265,7 +265,7 @@ private static void RegisterSingleBepInExPlugin(BaseUnityPlugin plugin) if (!TryReadModInfo(plugin, modInfoPath, folderPath, out var metadata)) return; var descriptor = new SpaceWarpPluginDescriptor( new BepInExModAdapter(plugin), - plugin.Info.Metadata.GUID, + metadata.ModID, metadata.Name, metadata, directoryInfo,