Skip to content

Commit

Permalink
Remove debugging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
japsuu committed Feb 15, 2024
1 parent dba6895 commit 790730b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OsrsFlipper/Flipper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace OsrsFlipper;

public sealed class Flipper : IDisposable
{
private const bool DEBUG_FILTERS = true;
private const bool DEBUG_FILTERS = false;

/// <summary>
/// The API controller used to fetch data from the OSRS API.
Expand Down Expand Up @@ -104,7 +104,7 @@ public async Task<List<ItemDump>> FindDumps()
}

// Check if the item passes all pruning filters.
if (entry.Item.Id != 2)
// DEBUG-TEST: if (entry.Item.Id != 2)
if (!_filterCollection.PassesPruneTest(entry))
continue;
itemsPassedPruneCount++;
Expand All @@ -115,7 +115,7 @@ public async Task<List<ItemDump>> FindDumps()
continue;

// Check if the item passes all flip filters.
if (entry.Item.Id != 2)
// DEBUG-TEST: if (entry.Item.Id != 2)
if (!_filterCollection.PassesFlipTest(entry, history5Min))
continue;

Expand Down

0 comments on commit 790730b

Please sign in to comment.