-
-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Taking damage on TP #5542
Comments
Confirmed: I tried with a simple |
duped tho : #5286 |
hmm, i think it is because it handles fall damage like if you go from Y- 80 to Y- 20, it takes where you fell to, not how long you have spent in the air. English may be horrible. |
Fall damage is currently not handled well. We currently don't look at the y-speed of the player to calculate the damage amount but by looking at the current y-level compared to the previous on-ground y-level: cuberite/src/Entities/Pawn.cpp Lines 434 to 463 in 20d5cf0
|
Reseting the LastGroundHeight on teleport
Reseting the LastGroundHeight on teleport Using inheritence for teleporting to avoid rewriting code
Reseting the LastGroundHeight on teleport Using inheritence for teleporting to avoid rewriting code
Client version: 1.8.9
Server OS: Linux
Expected behavior
To do "/home" from 0,75,0 - -200,25,150 Without taking damage while teleporting.
Actual behavior
Taking damage if the coordinates you are teleporting to are below the Y coord you are at
Maybe the solution
Setting the velocity to 0 while teleporting.
English might be Horrible
The text was updated successfully, but these errors were encountered: