From 659825ea783cdf57f7b1150bfd8a8191217b76ef Mon Sep 17 00:00:00 2001 From: Zoryn Aaron Date: Thu, 3 Mar 2016 09:44:10 -0500 Subject: pu to work from another location --- TrainerMod/TrainerMod.cs | 3 +++ TrainerMod/bin/Debug/TrainerMod.dll | Bin 23552 -> 23552 bytes TrainerMod/obj/Debug/TrainerMod.dll | Bin 23552 -> 23552 bytes 3 files changed, 3 insertions(+) (limited to 'TrainerMod') 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 Binary files a/TrainerMod/bin/Debug/TrainerMod.dll and b/TrainerMod/bin/Debug/TrainerMod.dll differ diff --git a/TrainerMod/obj/Debug/TrainerMod.dll b/TrainerMod/obj/Debug/TrainerMod.dll index 9fc10782..d6e49439 100644 Binary files a/TrainerMod/obj/Debug/TrainerMod.dll and b/TrainerMod/obj/Debug/TrainerMod.dll differ -- cgit