i keep getting errors on SMAPi
Vithor14 opened this issue ยท 0 comments
NullReferenceException: Object reference not set to an instance of an object.
at DailyScreenshot.ModTrigger.GetLocation() in /Users/lauren/workspace/stardew-valley-daily-screenshot-mod/DailyScreenshot/ModTrigger.cs:line 314
at DailyScreenshot.ModTrigger.CheckTrigger(SButton key) in /Users/lauren/workspace/stardew-valley-daily-screenshot-mod/DailyScreenshot/ModTrigger.cs:line 418
at DailyScreenshot.ModEntry.RunTriggers(List`1 rules, SButton key) in /Users/lauren/workspace/stardew-valley-daily-screenshot-mod/DailyScreenshot/ModEntry.cs:line 673
at DailyScreenshot.ModEntry.OnWarped(Object sender, WarpedEventArgs e) in /Users/lauren/workspace/stardew-valley-daily-screenshot-mod/DailyScreenshot/ModEntry.cs:line 702
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101
[Daily Screenshot] This mod failed in the Player.Warped event. Technical details:
NullReferenceException: Object reference not set to an instance of an object.
at DailyScreenshot.ModTrigger.GetLocation() in /Users/lauren/workspace/stardew-valley-daily-screenshot-mod/DailyScreenshot/ModTrigger.cs:line 314
at DailyScreenshot.ModTrigger.CheckTrigger(SButton key) in /Users/lauren/workspace/stardew-valley-daily-screenshot-mod/DailyScreenshot/ModTrigger.cs:line 418
at DailyScreenshot.ModEntry.RunTriggers(List`1 rules, SButton key) in /Users/lauren/workspace/stardew-valley-daily-screenshot-mod/DailyScreenshot/ModEntry.cs:line 673
at DailyScreenshot.ModEntry.OnWarped(Object sender, WarpedEventArgs e) in /Users/lauren/workspace/stardew-valley-daily-screenshot-mod/DailyScreenshot/ModEntry.cs:line 702
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101```