mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-16 10:51:55 -04:00
fixed generator item insertion count
This commit is contained in:
parent
0a0e1ef905
commit
256a57a40c
@ -41,7 +41,7 @@ class Generator extends ManagedComponent {
|
||||
existingStack.stackSize += moveCount
|
||||
stack.stackSize -= moveCount
|
||||
case _ =>
|
||||
inventory = Some(stack.splitStack(stack.getMaxStackSize min count))
|
||||
inventory = Some(stack.splitStack(stack.stackSize min count))
|
||||
}
|
||||
player.inventory.setInventorySlotContents(context.selectedSlot, stack)
|
||||
result(true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user