diff options
author | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-03 09:44:10 -0500 |
---|---|---|
committer | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-03 09:44:10 -0500 |
commit | 659825ea783cdf57f7b1150bfd8a8191217b76ef (patch) | |
tree | eaa65b3f6693f5e89d7ac82d8039fa097ecf9a01 /TrainerMod | |
parent | 250559d227fa3a8148ad97d75a725ed0a47a0f4f (diff) | |
download | SMAPI-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.cs | 3 | ||||
-rw-r--r-- | TrainerMod/bin/Debug/TrainerMod.dll | bin | 23552 -> 23552 bytes | |||
-rw-r--r-- | TrainerMod/obj/Debug/TrainerMod.dll | bin | 23552 -> 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 Binary files differindex 9fc10782..d6e49439 100644 --- a/TrainerMod/bin/Debug/TrainerMod.dll +++ b/TrainerMod/bin/Debug/TrainerMod.dll diff --git a/TrainerMod/obj/Debug/TrainerMod.dll b/TrainerMod/obj/Debug/TrainerMod.dll Binary files differindex 9fc10782..d6e49439 100644 --- a/TrainerMod/obj/Debug/TrainerMod.dll +++ b/TrainerMod/obj/Debug/TrainerMod.dll |