Plane destruction while piloting in third-person view leads to unintended consequences.
matt-bel opened this issue ยท 1 comments
I believe some people have mentioned this bug before (I have in a previous issue), but there hasn't been any systematic description of it.
Describe the bug
In multiplayer (or singleplayer lan), when a player is flying in a plane in third person mode, and that plane is destroyed, the player becomes unable to move, and is stuck in the air. Doing something like /tp "bugged_player" "normal_player" changes the location of the player for others, however on the bugged player's screen, everything remains the same.
Additionally, the bugged player can shoot, access their inventory (even though the GUI for the hotbar is entirely concealed), and the bullets will come from the location other players see, not the location the bugged player thinks they are at. The only solution to get the player out of this state is to kill them.
To Reproduce
Steps to reproduce the behaviour:
- Have two players.
- Have player A go in any plane (I experimented with a zero, biplane, two-seat biplane), get in third person mode (looking at the plane from behind)
- Have player B shoot down player A, destroying the vehicle core.
- Player A will now experience the aforementioned behavior.
In this image, the player in diamond armor down below sees me right nearby, whereas I am stuck in the air. Note that I am NOT using f1 to take this picture, I can't see my hotbar no matter what.
Versions (please complete the following information)
- Forge: various, I know dozens of people have encountered this behavior. I used 1.12.2-14.23.5.2838
- Flan's Mod: Any version after v5.6-beta.3
Additional context
The controls overhaul has caused multiple issues - this bug as well as #1102
I've been trying to patch it, but can't find a solution yet. I have not found anything in logs that would make sense of this issue. On occasion, the bugged player will be kicked for flying, however this is not consistent.