Skip to content

Commit

Permalink
Limit to max types
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Jan 18, 2025
1 parent 0412dc8 commit 2524b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/appeng/me/cells/BasicInventoryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ void testVoidUpgradeUnformatted() {
Objects.requireNonNull(cell);

var maxTypes = item.getTotalTypes(stack);
var keys = generateDifferentKeys(128);
var keys = generateDifferentKeys(maxTypes);

for (int i = 0; i < maxTypes; ++i) {
cell.insert(keys[i], Long.MAX_VALUE, Actionable.MODULATE, SRC);
Expand Down

0 comments on commit 2524b79

Please sign in to comment.