mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
1 parent
8a22312cbf
commit
768019c03f
1 file changed
+1
-1
@@ -77,7 +77,7 @@ public final class InvStack
|
||||
}
|
||||
else {
|
||||
ItemStack ret = stack.copy();
|
||||
ret.setCount(inventory.getStackInSlot(slotIDs.get(i)).getCount() - stack.getCount());
|
||||
ret.setCount(inventory.getStackInSlot(slotIDs.get(i)).getCount() - amount);
|
||||
inventory.setInventorySlotContents(slotIDs.get(i), ret);
|
||||
amount -= stack.getCount();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user