mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
The Fluid Export Bus was voiding fluids on craft only mode because it tried to craft it, and decided to continue with the normal export logic: Extract fluid from ME system and fill the tank. Unfortunately, there was a condition that prevented the extracted fluid from going anywhere depending on craft only mode, so it got voided. Commit fixes this by skipping the normal extract logic if set to craft only. The amount must be simulated before extracting from the ME system. This helps prevent a scenario where we cannot insert the fluid back (such as when we have a fluid storage bus on Extract Only). Signed-off-by: Firenoo <49818773+firenoo@users.noreply.github.com>