-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Respawn anchors lose their charge when rejoining the game #6040
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
Comments
Cannot reproduce. |
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 |
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 |
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. |
I am now able to reproduce |
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. |
either that or the world change event is being fired multiple times |
oh yeah, teleport and worldchangeevent are both called, maybe that's what I'm seeing. Not sure why teleporting even just nearby would require getting the respawn point though |
Type of bug
Other unexpected behaviour
/ess dump all
outputhttps://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
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
The text was updated successfully, but these errors were encountered: