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,