Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-98727

Server: Entering a boat/minecart/horse while going upwards from jumping causes a kick for flying



    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 1.10.2, Minecraft 16w36a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 1, Minecraft 1.14.4 Pre-Release 3, Minecraft 1.14.4 Pre-Release 4, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4, 19w34a, 19w35a, 19w36a, 19w37a, 19w38b, 19w39a, 19w40a, 19w41a, 19w42a
    • Fix Version/s: None
    • Confirmation Status:
    • Category:


      The bug

      So on a multiplayer server, if you jump off the ground and then right click on a ridable entity like for example a horse before landing you will get kicked from the server for flying too long and in the server log you will see a message such as:

      [17:54:58] [Server thread/WARN]: Jobe was kicked for floating too long!

      Code analysis

      Based on 1.11.2 decompiled using MCP 9.35 rc1

      The server does not reset the field net.minecraft.network.NetHandlerPlayServer.floating when a player starts riding an entity even though it is tracking floating with the field net.minecraft.network.NetHandlerPlayServer.vehicleFloating there and because the floating field can only be set to false by the part of the method net.minecraft.network.NetHandlerPlayServer.processPlayer(CPacketPlayer) which runs if the player is not riding an entity the value remains true.


          Issue Links



              • Assignee:
                jeuvke Jeuv
              • Votes:
                20 Vote for this issue
                16 Start watching this issue


                • Created: