Skip to content
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

RespawnPlayerEvent.SelectWorld does not consider respawn blocks #4124

Open
SamB440 opened this issue Aug 19, 2024 · 0 comments
Open

RespawnPlayerEvent.SelectWorld does not consider respawn blocks #4124

SamB440 opened this issue Aug 19, 2024 · 0 comments
Labels
status: needs triage This label is automatically applied to new issues and pull requests to indicate they require triage type: bug Something isn't working

Comments

@SamB440
Copy link

SamB440 commented Aug 19, 2024

Affected Product(s)

SpongeVanilla

Version

1.21.1-12.0.0-SNAPSHOT

Operating System

Linux

Java Version

21

Plugins/Mods

Irrelevant

Describe the bug

image

RespawnPlayerEvent.SelectWorld only affects the $$5 variable. $$2 is null if the player sets their bed spawn, destroys the bed, then respawns, then respawns again. This will cause the final return statement to be hit, which will default to overworld.

The missingRespawnBlock statement is hit after the first respawn.

Link to logs

No response

@SamB440 SamB440 added status: needs triage This label is automatically applied to new issues and pull requests to indicate they require triage type: bug Something isn't working labels Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This label is automatically applied to new issues and pull requests to indicate they require triage type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant