Basic elytra flight starting for fake players

Resolves #2043
Replaces, therefore closes #2161
This commit is contained in:
altrisi committed 2026-03-24 18:02:03 +01:00
1 parent 0fc39167ba
commit 8fb68dab3b
1 file changed
+2 -1
@@ -468,7 +468,8 @@ public class EntityPlayerActionPack
{
if (action.limit == 1)
{
if (player.onGround()) player.jumpFromGround(); // onGround
if (player.onGround()) player.jumpFromGround();
else if (!player.onClimbable()) player.tryToStartFallFlying();
}
else
{