Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make FluidHandlerAdapter Cache Properly use Tank Properties #483

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ghzdude
Copy link

@ghzdude ghzdude commented Jul 26, 2024

the cache makes the assumption that the fluid handler has exactly one tank, causing issues if the handler has multiple internal tanks to choose from (as it can always pick the same tank for different properties). i've replaced the drain call with the appropriate method from tank property, which should better handle all cases for a fluid handler.

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.

1 participant