We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3ae763a + 22fa593 commit 5b26fb1Copy full SHA for 5b26fb1
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