We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a791cf7 commit c08d798Copy full SHA for c08d798
src/main/java/appeng/util/ConfigMenuInventory.java
@@ -106,7 +106,7 @@ public GenericStack convertToSuitableStack(ItemStack stack) {
106
// Try items last
107
var what = AEItemKey.of(stack);
108
if (inv.isAllowed(what)) {
109
- return new GenericStack(what, stack.getCount());
+ return new GenericStack(what, unwrapped != null ? unwrapped.amount() : stack.getCount());
110
}
111
112
return null;
0 commit comments