-
Bug
-
Resolution: Fixed
-
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, 19w45b, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w13a, 20w13b, 20w15a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 1.16 Pre-release 3, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w48a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w11a, 21w14a, 1.17 Pre-release 2, 1.17, 21w40a, 1.18, 1.18.1
-
Confirmed
-
Entities, Player
-
Important
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.
- is duplicated by
-
MC-99028 Flying Not Enabled When Getting on Horse
- Resolved
-
MC-113059 Mounting entity whilst jumping kicks you for floating too long
- Resolved
-
MC-120130 Riding Minecarts or Horses/Llamas while floating in air will be considered flying and may trigger a kick in some servers.
- Resolved
-
MC-150393 'Flying is not enabled on the server' kick when riding a horse
- Resolved
-
MC-182450 Riding llamas triggers "Flying is not enabled on this server"
- Resolved
- relates to
-
MC-83938 Standing on entities with solid collision boxes (shulkers, boats) kicks you for flying
- Resolved
-
MC-111082 Riding a boat with NoGravity on a server without flight enabled causes kick for flying
- Resolved
-
MC-114544 Kicked by "Flying is not enabled on this server" while sleeping
- Resolved
-
MC-135989 Kicked for flying using trident with Riptide enchantment
- Resolved