summaryrefslogtreecommitdiff
path: root/src/TrainerMod
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-07-13 22:42:13 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-07-23 11:37:55 -0400
commit5726ebe20ee65e1d9f73678bc72210fa73d50fc0 (patch)
tree9770ea89c4f232f54e569fec2be1a2dc86a1dc4c /src/TrainerMod
parentf050f4ba31e8e1287f084fe8508632e3547a23ec (diff)
downloadSMAPI-5726ebe20ee65e1d9f73678bc72210fa73d50fc0.tar.gz
SMAPI-5726ebe20ee65e1d9f73678bc72210fa73d50fc0.tar.bz2
SMAPI-5726ebe20ee65e1d9f73678bc72210fa73d50fc0.zip
remove TrainerMod's save and load commands in 2.0
Diffstat (limited to 'src/TrainerMod')
-rw-r--r--src/TrainerMod/Framework/Commands/Saves/LoadCommand.cs4
-rw-r--r--src/TrainerMod/Framework/Commands/Saves/SaveCommand.cs4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/TrainerMod/Framework/Commands/Saves/LoadCommand.cs b/src/TrainerMod/Framework/Commands/Saves/LoadCommand.cs
index 121ad9a6..ad79b4af 100644
--- a/src/TrainerMod/Framework/Commands/Saves/LoadCommand.cs
+++ b/src/TrainerMod/Framework/Commands/Saves/LoadCommand.cs
@@ -1,4 +1,5 @@
-using StardewModdingAPI;
+#if SMAPI_1_x
+using StardewModdingAPI;
using StardewValley;
using StardewValley.Menus;
@@ -26,3 +27,4 @@ namespace TrainerMod.Framework.Commands.Saves
}
}
}
+#endif \ No newline at end of file
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