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.
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.