Allow all 63 partition items to be used for fluid cells (#121)

Previously, only one partition item was allowed. This fix will have
the cell consider all 63 slots. If you configure more than 1 or 5
cell slots, it works as expected - up to 1 or 5 of the whitelisted
fluids can be stored at a time.

This will degrade performance slightly.

Signed-off-by: Firenoo <49818773+firenoo@users.noreply.github.com>
This commit is contained in:
firenoo authored and GitHub committed 2023-05-01 19:38:07 +02:00
1 parent c29f8cf846
commit 6090f198e6
1 file changed
-1
@@ -32,7 +32,6 @@ public class FluidCellInventoryHandler extends MEInventoryHandler<IAEFluidStack>
final ItemStack is = config.getStackInSlot(x);
if (Util.getFluidFromItem(is) != null) {
priorityList.add(AEFluidStack.create(Util.getFluidFromItem(is)));
break;
}
}
if (!priorityList.isEmpty()) {