Fix #2032 - Fixes issue where fluids sometimes do not affect boat passengers
Fixes #2032 by including a check on whether the entity's eyes are in lava in isInLava() and updating wasTouchingWater to match wasEyeInWater.
- [ ] Publish PR to GitHub Packages
As an aside, I think getEyeInFluidType() should be renamed to getFluidTypeOnEyes() as the former sounds like it should take a fluid type as an argument and return a boolean.
I do want to note (definitely not blocking imo, but something to consider) that not extinguishing fire in this case matches vanilla behaviour in 1.21.1 (and 1.21.2 and 1.21.4, but not 1.21.5), however silly that is.
An addendum to this from my testing is that entities other than the player are extinguished when touching water.