Paper
Paper copied to clipboard
Teleporting from any other dimension to the overworld fully heals you
Expected behavior
Your health does not change.
Observed/Actual behavior
Your health is set to full.
Steps/models to reproduce
- Go to hell :-)
- take damage
- minecraft:tp to someone or something in the overworld. Also works with essentials /tp, /back, /home and seemingly any other plugin teleport.
Plugin and Datapack List
Paper version
[16:28:56 INFO]: This server is running Paper version 1.21-37-master@dd49fba (2024-06-24T02:08:49Z) (Implementing API version 1.21-R0.1-SNAPSHOT)
You are 1 version(s) behind
Download the new version at: https://papermc.io/downloads/paper
Previous version: 1.21-15-2df432f (MC: 1.21)
Other
clean server with new world, defaults on everything.
Can replicate, this is because spigot doesn't recreate the player instance for some cross-world tp and respawn, they already put a "fix" (bandaid) here: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/f993563ee5a5cd2282762735d2e6a332321e82d4#nms-patches%2Fnet%2Fminecraft%2Fserver%2Flevel%2FEntityPlayer.patch?t=921