Skip to content

Commit 5b26fb1

Browse files
authored
Merge branch 'forge/1.20.1' into pt-mergejobs
2 parents 3ae763a + 22fa593 commit 5b26fb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/appeng/util/ConfigMenuInventory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public GenericStack convertToSuitableStack(ItemStack stack) {
106106
// Try items last
107107
var what = AEItemKey.of(stack);
108108
if (inv.isAllowed(what)) {
109-
return new GenericStack(what, stack.getCount());
109+
return new GenericStack(what, unwrapped != null ? unwrapped.amount() : stack.getCount());
110110
}
111111

112112
return null;

0 commit comments

Comments
 (0)