Skip to content

Commit

Permalink
shit
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Sep 2, 2023
1 parent 3b8931f commit 59b44b5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public long insert(AEKey what, long amount, Actionable mode, IActionSource sourc
return 0;
}

if (filterItem == null || !filterItem.equals(storedItem)) {
if (filterItem == null || (storedItem != null && !filterItem.equals(storedItem))) {
return 0;
}

Expand Down Expand Up @@ -141,7 +141,7 @@ public long extract(AEKey what, long amount, Actionable mode, IActionSource sour
return 0;
}

if (filterItem == null || !filterItem.equals(storedItem)) {
if (filterItem == null || (storedItem != null && !filterItem.equals(storedItem))) {
return 0;
}

Expand Down

0 comments on commit 59b44b5

Please sign in to comment.