
Respawn anchors lose their charge when rejoining the game
FellowNeighbour opened this issue ยท 10 comments
Type of bug
Other unexpected behaviour
/ess dump all
output
https://essentialsx.net/dump.html?bytebin=zxxko94zkO
Error log (if applicable)
No response
Bug description
When running the latest version of EssentialsX, Respawn anchors do not work properly. They will start losing charges the moment the player changes dimensions or logs on and off.
Steps to reproduce
- Go to the Nether and place a Respawn anchor
- Fully charge the anchor
- Log off and reconnect
- You will notice that it's lost a charge
- This also happens with the player changing dimensions.
Expected behaviour
The Respawn anchor works as intended and does not lose charges.
Actual behaviour
The Respawn anchor loses its charges because the player disconnected or changed dimensions.
Additional Information
No response
Same issue here, cannot NOT reproduce. Running a fresh Paper 1.21.4 server, tried multiple versions of Paper and even the latest EssentialsX dev build to no avail. Happens when switching worlds, dying, or relogging.
Exactly, I do not understand how the maintainer cannot reproduce this. Just logging off, changing worlds, dimensions, whatever causes this. Default EssX config as well.
Same issue here, cannot NOT reproduce. Running a fresh Paper 1.21.4 server, tried multiple versions of Paper and even the latest EssentialsX dev build to no avail. Happens when switching worlds, dying, or relogging.
@avixk Could you also include a dump by running /ess dump all
?
Here's a clean one from the test server, latest dev build, and I tested again right after I logged in: https://essentialsx.net/dump.html?bytebin=cCTOeCnC2k
Confirmed as a Paper issue, will be fixed by PaperMC/Paper#11960
Ohh nice. getRespawnLocation() is called multiple times every teleport? odd. Maybe I'm misreading.