Compare commits

...
Author SHA1 Message Date
jackowes c8b2c6e9eb borked attempt at a solution 2025-09-04 17:57:57 -05:00
2 changed files with 2 additions and 1 deletions
@@ -105,7 +105,7 @@ interface RidingBehaviour<Settings : RidingBehaviourSettings, State : RidingBeha
/**
* Internal helpers to help behaviour specific calculations
* Internal helpers for behaviour specific calculations
*/
companion object {
/**
@@ -111,6 +111,7 @@ class RidingController(
// check if style is water and player is submerged
val isEyeInLiquid = entity.isEyeInFluid(FluidTags.WATER) || entity.isEyeInFluid(FluidTags.LAVA)
if (context?.style == RidingStyle.LIQUID && isEyeInLiquid) return false
if (!entity.onGround() && driver.jumping) return true
return (driver as DoubleJump).isDoubleJumping
}
else {