Browse Source

Formatting

pull/46/head
Anairkoen Schno 6 years ago
parent
commit
2297d5e975
2 changed files with 2 additions and 3 deletions
  1. +2
    -1
      IPA.Loader/Config/ModPrefs.cs
  2. +0
    -2
      IPA.Loader/PluginInterfaces/IPA/IPlugin.cs

+ 2
- 1
IPA.Loader/Config/ModPrefs.cs View File

@ -103,7 +103,8 @@ namespace IPA.Config
/// </summary>
/// <param name="plugin">the plugin to get the preferences file for</param>
public ModPrefs(IBeatSaberPlugin plugin) {
_instance = new IniFile(Path.Combine(Environment.CurrentDirectory, "UserData", "ModPrefs", $"{plugin.Name}.ini"));
_instance = new IniFile(Path.Combine(Environment.CurrentDirectory, "UserData", "ModPrefs",
$"{plugin.Name}.ini"));
ModPrefss.Add(plugin, this);
}


+ 0
- 2
IPA.Loader/PluginInterfaces/IPA/IPlugin.cs View File

@ -10,7 +10,6 @@ namespace IPA.Old
[Obsolete("When building plugins for Beat Saber, use IBeatSaberPlugin")]
public interface IPlugin
{
/// <summary>
/// Gets the name of the plugin.
/// </summary>
@ -48,7 +47,6 @@ namespace IPA.Old
/// </summary>
void OnUpdate();
/// <summary>
/// Gets invoked on ever physics update.
/// </summary>


Loading…
Cancel
Save