mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
only copy a single item to dummy inv in Formulaic Assemblicator
This commit is contained in:
1 parent
95d0fb98b8
commit
321afd497c
1 file changed
+2
-2
@@ -212,7 +212,7 @@ public class TileEntityFormulaicAssemblicator extends TileEntityElectricBlock im
|
||||
if (world != null && !world.isRemote) {
|
||||
if (formula == null) {
|
||||
for (int i = 0; i < 9; i++) {
|
||||
dummyInv.setInventorySlotContents(i, inventory.get(SLOT_CRAFT_MATRIX_FIRST + i));
|
||||
dummyInv.setInventorySlotContents(i, StackUtils.size(inventory.get(SLOT_CRAFT_MATRIX_FIRST + i), 1));
|
||||
}
|
||||
|
||||
lastRemainingItems = EMPTY_LIST;
|
||||
@@ -242,7 +242,7 @@ public class TileEntityFormulaicAssemblicator extends TileEntityElectricBlock im
|
||||
|
||||
private boolean doSingleCraft() {
|
||||
for (int i = 0; i < 9; i++) {
|
||||
dummyInv.setInventorySlotContents(i, inventory.get(SLOT_CRAFT_MATRIX_FIRST + i));
|
||||
dummyInv.setInventorySlotContents(i, StackUtils.size(inventory.get(SLOT_CRAFT_MATRIX_FIRST + i), 1));
|
||||
}
|
||||
recalculateRecipe();
|
||||
|
||||
|
||||
Reference in new issue
Block a user