Skip to content

Commit

Permalink
removed reference to old plugins folder
Browse files Browse the repository at this point in the history
  • Loading branch information
18107 committed Sep 18, 2021
1 parent 6afd28f commit 9eaebe6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions PulsarInjector/Injector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,7 @@ public static void InstallModLoader(string targetAssemblyPath)
}

Logger.Info("=== Creating directories ===");
string pluginsdir = Path.Combine(Path.GetDirectoryName(targetAssemblyPath), "Plugins");
string Modsdir = Path.Combine(Directory.GetParent(Path.GetDirectoryName(targetAssemblyPath)).Parent.FullName, "Mods");
if (Directory.Exists(pluginsdir))
{
Logger.Info("Moving Old Plugins Directory"); ;
Directory.Move(pluginsdir, Modsdir);
}
if (!Directory.Exists(Modsdir))
{
Logger.Info("Creating Mods Directory");
Expand Down

0 comments on commit 9eaebe6

Please sign in to comment.