Skip to content

Commit

Permalink
wait, shit
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Jan 18, 2025
1 parent c4767bf commit 9cc4c74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/appeng/me/cells/BasicCellInventory.java
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,9 @@ public long insert(AEKey what, long amount, Actionable mode, IActionSource sourc
// Run regular insert logic and then apply void upgrade to the returned value.
long inserted = innerInsert(what, amount, mode);

// In the event that a void card is being used on an unformatted cell, ensure it doesn't void any items that the
// cell isn't even storing to begin with
if (!isPreformatted() && hasVoidUpgrade && storedItems == maxItemTypes) {
// In the event that a void card is being used on a (full) unformatted cell, ensure it doesn't void any items
// that the cell isn't even storing to begin with
if (!isPreformatted() && hasVoidUpgrade && !canHoldNewItem()) {
return getCellItems().containsKey(what) ? amount : inserted;
}

Expand Down

0 comments on commit 9cc4c74

Please sign in to comment.