Placing blocks may drop the player underground
SodiumZH opened this issue ยท 6 comments
I was fixing a creeper pit and found the player very likely to drop inside the ground surface, especially when placing a dirt block closely to the player itself.
When dropped underground, it will be difficult to escape by myself. Trying digging upside will dramatically make me drop deeper.
Seemingly collision detection of the flatened ground surface encountered some issues. When a player is stuck partly into the surface due to the surface change on the player's position (caused by a close block-placing), the player lose its collision onto the surface planes and detects nothing below its feet. The figure below is my guess:
I removed NoCube and checked the ground, finding there wasn't any hole on the ground (after escaping from the solid blocks).
I'm not sure if sand falling is another cause of this issue...
To reproduce this issue:
- In survival mode, ignite a TNT on the ground to make a pit;
- Try fixing it with dirt blocks with the player standing inside or around the pit.