CyclopsMC / IntegratedTunnels

Transfer other energy, items and fluids over Integrated Dynamics networks
MIT License
20 stars 13 forks source link

Item Importer Predicate does not respect Round Robin #288

Closed Telmooo closed 2 months ago

Telmooo commented 2 months ago

Issue type:


Short description:

Item Importer with an “Import Items Predicate” does not respect Round Robin option.

Steps to reproduce the problem:

  1. Create a network with 3 chests, with following layout
C2
C1 C3
  1. Chest 1 & 2 have Item Interfaces (default settings).
  2. Chest 3 has an Item Importer.
  3. Create a Predicate (e.g. Operator :: Item Enchantable), and put in Item Importer with Round Robin active.
  4. Fill Chest 3 with Enchanted Items (e.g. Enchanted Armor piece)
  5. All the items get placed into Chest 2.

Expected behaviour:

Items should be split evenly between Chest 1 and Chest 2.

This expected behaviour is exactly what happens when using the "Import All Items" under the same setup.


Versions:

Log file:

None.

rubensworks commented 2 months ago

Thanks for reporting!