RespawnPlayerEvent.SelectWorld does not consider respawn blocks #4124
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
Affected Product(s)
SpongeVanilla
Version
1.21.1-12.0.0-SNAPSHOT
Operating System
Linux
Java Version
21
Plugins/Mods
Describe the bug
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
The text was updated successfully, but these errors were encountered: