summaryrefslogtreecommitdiff
path: root/src/TrainerMod/Framework/Commands/Saves/SaveCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/TrainerMod/Framework/Commands/Saves/SaveCommand.cs')
-rw-r--r--src/TrainerMod/Framework/Commands/Saves/SaveCommand.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/TrainerMod/Framework/Commands/Saves/SaveCommand.cs b/src/TrainerMod/Framework/Commands/Saves/SaveCommand.cs
index 5f6941e9..ea2bd6a8 100644
--- a/src/TrainerMod/Framework/Commands/Saves/SaveCommand.cs
+++ b/src/TrainerMod/Framework/Commands/Saves/SaveCommand.cs
@@ -1,4 +1,5 @@
-using StardewModdingAPI;
+#if SMAPI_1_x
+using StardewModdingAPI;
using StardewValley;
namespace TrainerMod.Framework.Commands.Saves
@@ -25,3 +26,4 @@ namespace TrainerMod.Framework.Commands.Saves
}
}
}
+#endif \ No newline at end of file