Skip to content

Commit

Permalink
minimal setup check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jukkales committed Apr 14, 2024
1 parent 3ca055d commit cb21608
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion HoardFarm/HoardFarm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Authors>Jukkales</Authors>
<Version>1.3.0.0</Version>
<Version>1.3.1.0</Version>
<Description>HoardFarm Dalamud Plugin</Description>
<PackageProjectUrl>https://github.com/Jukkales/HoardFarm</PackageProjectUrl>
</PropertyGroup>
Expand Down
18 changes: 9 additions & 9 deletions HoardFarm/Service/HoardFarmService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,17 +196,17 @@ private void OnTimerUpdate(object? sender, ElapsedEventArgs e)

if (InHoH && NotBusy())
{
if (!CheckMinimalSetup())
{
HoardModeStatus = "Please prepare";
HoardModeError = "Please prepare before starting.\nYou need at least one Intuition Pomander\nand one Concealment.";
FinishRun = true;
Enqueue(new LeaveDutyTask(), "Leave Duty");
return;
}

if (!intuitionUsed)
{
if (!CheckMinimalSetup())
{
HoardModeStatus = "Please prepare";
HoardModeError = "Please prepare before starting.\nYou need at least one Intuition Pomander\nand one Concealment.";
FinishRun = true;
Enqueue(new LeaveDutyTask(), "Leave Duty");
return;
}

if (CanUsePomander(Pomander.Intuition))
{
Enqueue(new UsePomanderTask(Pomander.Intuition), "Use Intuition");
Expand Down

0 comments on commit cb21608

Please sign in to comment.