Multiple dupe/void Fix (#296)

This commit is contained in:
Algent authored and GitHub committed 2026-06-13 23:14:50 +02:00
1 parent ed248b2418
commit 89c03e63e4
6 files changed
+43 -15

No files matched your search

@@ -171,12 +171,7 @@ public class CraftingStationContainer extends Container {
if (index == 0) {
// Crafting Result
if (ret.getItem() instanceof IModifyable) {
nothingDone &= !this.mergeCraftedStack(
itemstack,
logic.getSizeInventory(),
this.inventorySlots.size(),
true,
entityPlayer);
nothingDone &= !this.mergeCraftedStack(itemstack, logic.getSizeInventory(), 46, true, entityPlayer);
} else {
// First refill the attached chests
nothingDone &= this.refillChest(itemstack);