Skip to content

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

Open
FellowNeighbour opened this issue Feb 9, 2025 · 10 comments
Open

Respawn anchors lose their charge when rejoining the game #6040

FellowNeighbour opened this issue Feb 9, 2025 · 10 comments
Labels
bug: confirmed Confirmed bugs in EssentialsX. bug: upstream Bugs that exist in the Bukkit API or Minecraft itself.

Comments

@FellowNeighbour
Copy link

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

  1. Go to the Nether and place a Respawn anchor
  2. Fully charge the anchor
  3. Log off and reconnect
  4. You will notice that it's lost a charge
  5. 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

@FellowNeighbour FellowNeighbour added the bug: unconfirmed Potential bugs that need replicating to verify. label Feb 9, 2025
@FellowNeighbour FellowNeighbour changed the title Respawn anchors lose their charge. Respawn anchors lose their charge when rejoining the game Feb 14, 2025
@JRoy
Copy link
Member

JRoy commented Feb 23, 2025

Cannot reproduce.

@JRoy JRoy closed this as completed Feb 23, 2025
@avixk
Copy link

avixk commented Mar 10, 2025

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.

@mdcfe
Copy link
Member

mdcfe commented Mar 10, 2025

@avixk Could you also include a dump by running /ess dump all?

@avixk
Copy link

avixk commented Mar 10, 2025

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

@FellowNeighbour
Copy link
Author

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.

@JRoy JRoy reopened this Mar 12, 2025
@JRoy JRoy added bug: confirmed Confirmed bugs in EssentialsX. and removed bug: unconfirmed Potential bugs that need replicating to verify. labels Mar 12, 2025
@JRoy
Copy link
Member

JRoy commented Mar 12, 2025

I am now able to reproduce

@JRoy JRoy added the bug: upstream Bugs that exist in the Bukkit API or Minecraft itself. label Mar 12, 2025
@JRoy
Copy link
Member

JRoy commented Mar 12, 2025

Confirmed as a Paper issue, will be fixed by PaperMC/Paper#11960

@avixk
Copy link

avixk commented Mar 12, 2025

Ohh nice. getRespawnLocation() is called multiple times every teleport? odd. Maybe I'm misreading.

@JRoy
Copy link
Member

JRoy commented Mar 12, 2025

either that or the world change event is being fired multiple times

@avixk
Copy link

avixk commented Mar 12, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: confirmed Confirmed bugs in EssentialsX. bug: upstream Bugs that exist in the Bukkit API or Minecraft itself.
Projects
None yet
Development

No branches or pull requests

4 participants