Skip to content

Commit

Permalink
Fix a bug I noticed in the PluginRegister.cs file
Browse files Browse the repository at this point in the history
  • Loading branch information
cheese3660 committed Sep 13, 2023
1 parent f34dc8e commit e7b54f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SpaceWarp.Core/Backend/Modding/PluginRegister.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit e7b54f8

Please sign in to comment.