File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
core/src/main/java/org/geysermc/geyser
entity/type/living/animal/horse Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -87,9 +87,11 @@ public void updateSaddled(boolean saddled) {
8787 setFlag (EntityFlag .CAN_POWER_JUMP , saddled );
8888 super .updateSaddled (saddled );
8989
90- // We want to allow player to press jump again if pressing jump doesn't dismount the entity.
91- this .session .setLockInput (InputLocksFlag .JUMP , this .doesJumpDismount ());
92- this .session .updateInputLocks ();
90+ if (this .passengers .contains (session .getPlayerEntity ())) {
91+ // We want to allow player to press jump again if pressing jump doesn't dismount the entity.
92+ this .session .setLockInput (InputLocksFlag .JUMP , this .doesJumpDismount ());
93+ this .session .updateInputLocks ();
94+ }
9395 }
9496
9597 @ Override
Original file line number Diff line number Diff line change 3535import org .cloudburstmc .math .vector .Vector3i ;
3636import org .cloudburstmc .protocol .bedrock .data .entity .EntityFlag ;
3737import org .cloudburstmc .protocol .bedrock .packet .MovePlayerPacket ;
38- import org .cloudburstmc .protocol .bedrock .packet .UpdateClientInputLocksPacket ;
3938import org .geysermc .erosion .util .BlockPositionIterator ;
4039import org .geysermc .geyser .entity .EntityDefinitions ;
4140import org .geysermc .geyser .entity .type .player .PlayerEntity ;
You can’t perform that action at this time.
0 commit comments