summaryrefslogtreecommitdiff
path: root/TrainerMod
diff options
context:
space:
mode:
authorZoryn Aaron <zoryn4163@gmail.com>2016-03-03 09:44:10 -0500
committerZoryn Aaron <zoryn4163@gmail.com>2016-03-03 09:44:10 -0500
commit659825ea783cdf57f7b1150bfd8a8191217b76ef (patch)
treeeaa65b3f6693f5e89d7ac82d8039fa097ecf9a01 /TrainerMod
parent250559d227fa3a8148ad97d75a725ed0a47a0f4f (diff)
downloadSMAPI-659825ea783cdf57f7b1150bfd8a8191217b76ef.tar.gz
SMAPI-659825ea783cdf57f7b1150bfd8a8191217b76ef.tar.bz2
SMAPI-659825ea783cdf57f7b1150bfd8a8191217b76ef.zip
pu to work from another location
Diffstat (limited to 'TrainerMod')
-rw-r--r--TrainerMod/TrainerMod.cs3
-rw-r--r--TrainerMod/bin/Debug/TrainerMod.dllbin23552 -> 23552 bytes
-rw-r--r--TrainerMod/obj/Debug/TrainerMod.dllbin23552 -> 23552 bytes
3 files changed, 3 insertions, 0 deletions
diff --git a/TrainerMod/TrainerMod.cs b/TrainerMod/TrainerMod.cs
index 86b03673..4aa2167f 100644
--- a/TrainerMod/TrainerMod.cs
+++ b/TrainerMod/TrainerMod.cs
@@ -761,7 +761,10 @@ namespace TrainerMod
static void RegisterNewItem(Command cmd)
{
if (!Program.debug)
+ {
+ Program.LogError("Experimental code cannot be run in user mode.");
return;
+ }
SObject s = SGame.PullModItemFromDict(0, true);
s.Stack = 999;
Game1.player.addItemToInventory(s);
diff --git a/TrainerMod/bin/Debug/TrainerMod.dll b/TrainerMod/bin/Debug/TrainerMod.dll
index 9fc10782..d6e49439 100644
--- a/TrainerMod/bin/Debug/TrainerMod.dll
+++ b/TrainerMod/bin/Debug/TrainerMod.dll
Binary files differ
diff --git a/TrainerMod/obj/Debug/TrainerMod.dll b/TrainerMod/obj/Debug/TrainerMod.dll
index 9fc10782..d6e49439 100644
--- a/TrainerMod/obj/Debug/TrainerMod.dll
+++ b/TrainerMod/obj/Debug/TrainerMod.dll
Binary files differ