TechReborn / RebornCore

Reborn Core is a library used for many of the Tech Reborn team's mods, including Tech Reborn, Quantum Storage, Fluxed Redstone, Hardcore Map Reset, and many more.
MIT License
43 stars 51 forks source link

FluidUtil: Reset source tank fluid type once it is drained #151

Closed Sturmlilie closed 4 years ago

Sturmlilie commented 4 years ago

Fixes tanks not pulling in different fluid types via auto-transfer after they have been drained.

Personally I'd like it if tanks had some sort of take(FluidValue amount) method that returns the actual value extracted (min(amount, contents)) and automatically sets the type to empty.