Skip to content

Commit

Permalink
LootGoal clear target if inventory full, again prevents bot getting s…
Browse files Browse the repository at this point in the history
…tuck
  • Loading branch information
lionaneesh authored Dec 16, 2024
1 parent 9839d7b commit 006c889
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core/Goals/LootGoal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ private void CaptureStateBeforeLoot()

private void CheckInventoryFull()
{
ClearTargetIfNeeded();
if (!bagReader.BagsFull())
return;

Expand Down

0 comments on commit 006c889

Please sign in to comment.