diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-14 23:00:30 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-14 23:00:30 -0400 |
commit | 1a3befa93e073b45e63781cc546cd7c52f316d7c (patch) | |
tree | 24c0e4f8d9459d75dbf097e19cfc9d7a0d21bc31 /src/SMAPI/Framework/ModHelpers/CommandHelper.cs | |
parent | 43c875c4c225ad248790c29f3abcb787cbbd2d7f (diff) | |
download | SMAPI-1a3befa93e073b45e63781cc546cd7c52f316d7c.tar.gz SMAPI-1a3befa93e073b45e63781cc546cd7c52f316d7c.tar.bz2 SMAPI-1a3befa93e073b45e63781cc546cd7c52f316d7c.zip |
track mod metadata reference in APIs for upcoming deprecation changes
Diffstat (limited to 'src/SMAPI/Framework/ModHelpers/CommandHelper.cs')
-rw-r--r-- | src/SMAPI/Framework/ModHelpers/CommandHelper.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/SMAPI/Framework/ModHelpers/CommandHelper.cs b/src/SMAPI/Framework/ModHelpers/CommandHelper.cs index 7d25979c..319922a9 100644 --- a/src/SMAPI/Framework/ModHelpers/CommandHelper.cs +++ b/src/SMAPI/Framework/ModHelpers/CommandHelper.cs @@ -8,9 +8,6 @@ namespace StardewModdingAPI.Framework.ModHelpers /********* ** Fields *********/ - /// <summary>The mod using this instance.</summary> - private readonly IModMetadata Mod; - /// <summary>Manages console commands.</summary> private readonly CommandManager CommandManager; @@ -22,9 +19,8 @@ namespace StardewModdingAPI.Framework.ModHelpers /// <param name="mod">The mod using this instance.</param> /// <param name="commandManager">Manages console commands.</param> public CommandHelper(IModMetadata mod, CommandManager commandManager) - : base(mod.Manifest.UniqueID) + : base(mod) { - this.Mod = mod; this.CommandManager = commandManager; } |