From 7b4821d3298d9f1590cfea1f86d13dbdb89049aa Mon Sep 17 00:00:00 2001 From: str1k3r <115313679+S1l3ntStr1ke87@users.noreply.github.com> Date: Sat, 5 Sep 2026 12:43:40 -0400 Subject: [PATCH] fix: being able to fly while riding entity --- Minecraft.Client/LocalPlayer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Minecraft.Client/LocalPlayer.cpp b/Minecraft.Client/LocalPlayer.cpp index a7f1356d..7764067e 100644 --- a/Minecraft.Client/LocalPlayer.cpp +++ b/Minecraft.Client/LocalPlayer.cpp @@ -313,7 +313,8 @@ void LocalPlayer::aiStep() } // 4J Stu - Fix for #52705 - Customer Encountered: Player can fly in bed while being in Creative mode. - if (!isSleeping() && (abilities.mayfly || isAllowedToFly() )) + //str1k3r - Add !isRiding() to fix being able to fly while riding Entity + if ((!isSleeping() && !isRiding()) && (abilities.mayfly || isAllowedToFly())) { // 4J altered to require jump button to released after being tapped twice to trigger move between flying / not flying if (!wasJumping && input->jumping)