mojira.dev
MC-212

Fall damage is ignored for a couple of seconds when reloading into LAN or singleplayer worlds

The Bug:

Fall damage is ignored for a couple of seconds when reloading into LAN or singleplayer worlds.

Please note that multiplayer server worlds are not affected by this issue.

Steps to Reproduce:

  1. Summon a large tower of blocks by using the command provided below.

    /fill ~3 ~ ~ ~3 ~45 ~ minecraft:polished_andesite
  2. Stand on top of the tower and switch into survival mode.

  3. Jump off the edge of the tower, but before you hit the ground, hit the ESC key and exit the world.

  4. Load into the world once again and as you do this, watch your health closely.

  5. Take note as to whether or not fall damage is ignored for a couple of seconds when reloading into LAN or singleplayer worlds.

Observed Behavior:

Fall damage is ignored for a couple of seconds when reloading into LAN or singleplayer worlds.

Expected Behavior:

Fall damage would not be ignored for a couple of seconds when reloading into LAN or singleplayer worlds.

Code Analysis:

Code analysis by @unknown can be found in this comment.

Linked issues

MC-266866 Bone mealing grass seems to cancel fall damage Resolved MC-265212 Nothing clutch Resolved MC-233834 Disconection damage deletion Resolved MC-228590 Fall Damage bug Resolved MC-227574 Fall damage bug Resolved

Attachments

Comments 106

mattabase has reported this on his stream as well

Falldamage can occur on a remote server with pvp turned on.

Grum, the bug is that fall-damage gets re-calculated when you login.

Yes, that is the point. Falldamage gets re-calculated after logging out/logging in. So if you logg out if you're three or four blocks above the ground, you won't get any fall damage at all when logging back in! Not sure if Grum misunderstood this issue.
This applies to single- as well as multiplayer, btw.

No, the data is stored and loaded correctly, the only reason you do not get damage is because you get 3 seconds of invulnerability when you login. I spend a good 45 minutes with a debugger jumping of a pole seeing what happened 😛

96 more comments

Can confirm in 23w43a

Can confirm in 1.20, 1.20.1 

Confirmed in 1.20.3 pre 1

Can confirm in 1.20.2

Confrimed at 1.20.5 pre-release 1

[Mod] Michael Wobst

Avoma

Shugoh

Confirmed

Platform

Important

Entities

mojang_internal_1

Minecraft 1.4.2, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w26a, Minecraft 1.6, ..., 1.21, 1.21 Release Candidate 1, 1.21.1, 1.21.2 Pre-Release 3, 1.21.3

Minecraft 1.4.3, Minecraft 1.9.3 Pre-Release 3, 24w45a

Retrieved