Basic elytra flight starting for fake players
Resolves #2043 Replaces, therefore closes #2161
This commit is contained in:
1 parent
0fc39167ba
commit
8fb68dab3b
1 file changed
+2
-1
@@ -468,7 +468,8 @@ public class EntityPlayerActionPack
|
|||||||
{
|
{
|
||||||
if (action.limit == 1)
|
if (action.limit == 1)
|
||||||
{
|
{
|
||||||
if (player.onGround()) player.jumpFromGround(); // onGround
|
if (player.onGround()) player.jumpFromGround();
|
||||||
|
else if (!player.onClimbable()) player.tryToStartFallFlying();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user