AE2-UEL/Applied-Energistics-2

Accelerated Export Bus With Storage Bus misplacing items

Closed this issue · 0 comments

When exporting to an almost full inventory (the export bus would not need to export a full stack) from a storage bus set to extract only attached to an inventory, the export bus places the excess back into the system's drives instead of only taking what's necessary to fill the inventory.

Describe the bug

I noticed this during a Nomifactory playthrough, but this is likely isolated to the mod. When an accelerated exporter attempts to completely fill an inventory, if the inventory cannot fit the entire export, the rest of the items are placed back into the ME system's drives instead of remaining in the inventory connected to the storage bus.

To Reproduce

All that is needed is a ME system with or without disk storage, a storage bus set to extract only hooked up to a full inventory, and an exporter with acceleration cards into another full inventory (pictured in screenshot). Taking a single item out of the inventory with the exporter will cause the exporter to fill it, but the rest of the items are placed back into the system's disks. If the system has no disks, the items are voided.
Expected behavior

Instead of placing the items in the system's disks, they should remain in the inventory. If an export bus only exports one item, it should only take one item from the storage bus's inventory, instead of placing the other 95 back into the system's storage. The items should also definitely not be voided if there is no disk space available.
Additional context

image
(export bus fully upgraded with acceleration cards, storage bus set to extract only)

Environment

Tested on Nomifactory dev-b171236
Tested on both a world in progress and a new Lost Cities world.

Tested on Nomifactory singleplayer with version v0.56.4

  • Minecraft Version: 1.12.2
  • AE2 Version: v0.56.4
  • Forge Version: 14.23.5.2860