Skip to content

Commit c5154ec

Browse files
committed
rename polyscriptmod to polymod
1 parent 2345ca8 commit c5154ec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Managers/Config.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace PolyMod.Managers;
55

66
/// <summary>
7-
/// allows mods to save config.
7+
/// Allows mods to save config.
88
/// </summary>
99
public class Config<T> where T : class
1010
{
@@ -91,7 +91,7 @@ public TResult Get<TResult>(Func<T, TResult> getter)
9191
return getter(_currentConfig ?? throw new InvalidOperationException("Must set default before reading config."));
9292
}
9393
/// <summary>
94-
/// writes the config to disk
94+
/// Writes the config to disk
9595
/// </summary>
9696
public void SaveChanges()
9797
{

src/PolyScriptMod.cs renamed to src/PolyMod.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ internal PolyScriptModBase()
1313
{
1414
}
1515
}
16-
public abstract class PolyScriptMod<TConfig, TExposedConfig> : PolyScriptModBase where TConfig : class where TExposedConfig : class
16+
public abstract class PolyMod<TConfig, TExposedConfig> : PolyScriptModBase where TConfig : class where TExposedConfig : class
1717
{
1818
internal override void Initialize(string name, ManualLogSource logger)
1919
{
@@ -29,6 +29,6 @@ internal override void Initialize(string name, ManualLogSource logger)
2929
protected ManualLogSource Logger { get; private set; } = null!;
3030
}
3131

32-
public abstract class PolyScriptMod : PolyScriptMod<JObject, JObject>
32+
public abstract class PolyMod : PolyMod<JObject, JObject>
3333
{
3434
}

0 commit comments

Comments
 (0)