Browse Source

Formatting

pull/1/head
Anairkoen Schno 5 years ago
parent
commit
d794e7f883
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> /// </summary>
/// <param name="plugin">the plugin to get the preferences file for</param> /// <param name="plugin">the plugin to get the preferences file for</param>
public ModPrefs(IBeatSaberPlugin plugin) { 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); 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")] [Obsolete("When building plugins for Beat Saber, use IBeatSaberPlugin")]
public interface IPlugin public interface IPlugin
{ {
/// <summary> /// <summary>
/// Gets the name of the plugin. /// Gets the name of the plugin.
/// </summary> /// </summary>
@ -48,7 +47,6 @@ namespace IPA.Old
/// </summary> /// </summary>
void OnUpdate(); void OnUpdate();
/// <summary> /// <summary>
/// Gets invoked on ever physics update. /// Gets invoked on ever physics update.
/// </summary> /// </summary>


Loading…
Cancel
Save