Skip to content

Conversation

@SuperSoupr
Copy link

IFluidContainerItem.drain returns null in certain cases, indicating that the drain failed. So getContainerForFilledItem should return null when this happens.
fixes GTNewHorizons/GT-New-Horizons-Modpack#23153

Copy link
Member

@danyadev danyadev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright it can't hurt and should fix at least some cases

@Dream-Master Dream-Master merged commit 18fffb2 into master Jan 8, 2026
1 check passed
@Dream-Master Dream-Master deleted the fluid-drain-null branch January 8, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fluid duping bug with Super Tanks

4 participants