Skip to content

Commit

Permalink
etc
Browse files Browse the repository at this point in the history
  • Loading branch information
aedenthorn committed Jan 5, 2023
1 parent c869469 commit 93273da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AFKTimePause/ModEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using StardewValley.BellsAndWhistles;
using StardewValley.Locations;
using StardewValley.TerrainFeatures;
using StardewValley.Tools;
using System;
using System.Collections.Generic;
using System.Diagnostics;
Expand Down Expand Up @@ -59,7 +60,7 @@ private void Display_Rendered(object sender, StardewModdingAPI.Events.RenderedEv

private void GameLoop_OneSecondUpdateTicked(object sender, StardewModdingAPI.Events.OneSecondUpdateTickedEventArgs e)
{
if (!Config.ModEnabled || !Context.IsPlayerFree)
if (!Config.ModEnabled || !Context.IsPlayerFree || (Game1.player.CurrentTool is FishingRod && (Game1.player.CurrentTool as FishingRod).inUse()))
{
elapsedSeconds = 0;
return;
Expand Down
1 change: 1 addition & 0 deletions CustomAchievements/CustomAchievementsAPI.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file added _releases/AFKTimePause 0.3.1.zip
Binary file not shown.

0 comments on commit 93273da

Please sign in to comment.