mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-05 18:10:09 +03:00
Auto Jump Option (#35)
This commit is contained in:
@@ -166,7 +166,7 @@ int LocalPlayer::move(float x, float y, float z)
|
||||
return 1;
|
||||
|
||||
// are we trying to walk into stairs or a slab?
|
||||
if (tileOnTop != Tile::stairs_stone->m_ID && tileOnTop != Tile::stairs_wood->m_ID && tileOnTop != Tile::stoneSlabHalf->m_ID)
|
||||
if (tileOnTop != Tile::stairs_stone->m_ID && tileOnTop != Tile::stairs_wood->m_ID && tileOnTop != Tile::stoneSlabHalf->m_ID && m_pMinecraft->m_options.m_bAutoJump)
|
||||
// Nope, we're walking towards a full block. Trigger an auto jump.
|
||||
m_nAutoJumpFrames = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user