Fall damage miscalculation
AirOne01 opened this issue · comments
Erwann Lagouche commented
Client version: 1.12.2
Server OS: Windows 11 Home (v.21H2 build 22000.258)
Cuberite Commit id: d49ce75
Expected behavior
- No fall damage is taken when jumping on cobwebs
- Entities that are spawned in mid-air take damage from their fall
- Beds reduce fall damage
Actual behavior
- Player sometimes receive damage upon falling in cobwebs
- Sometimes upon landing in cobwebs no damage will be taken, which is expected, but further fall damage will be ignored. (tested teleportation and "natural" fall). It was observed being cancelled after getting attacked by another entity.
- Entities that are spawned in mid-air don't take damage from their fall
- Landing on a bed will make you bounce, but won't reduce fall damage.
Steps to reproduce the behavior
- Player fall on cobwebs and a bed
- Either build a tower and climb back on it every time or teleport to a greater y. Same behavior expected.
- Entity is spawned in mid-air and falls to ground
- Either use a spawn egg on the side of a block or use the
/summon
command. Same behavior expected.
- Either use a spawn egg on the side of a block or use the
Server log
Nothing special indicated by the server log