setRespawnLocation clears player's spawn point #337

Open
opened 2025-03-21 21:33:28 +01:00 by EnderHacker0 · 0 comments
EnderHacker0 commented 2025-03-21 21:33:28 +01:00 (Migrated from github.com)

Expected behavior

When player.setRespawnLocation() is used, player's respawn point should be set to the location provided in ()

Observed/Actual behavior

When player.setRespawnLocation() is used, player's respawn point is cleared, regardless of what is in ()

Steps/models to reproduce

Use player.setRespawnLocation() in a plugin

Plugin and Datapack List

Only a test plugin

Folia version

version
[14:32:39 INFO]: Checking version, please wait...
[14:32:39 INFO]: This server is running Folia version 1.21.4-DEV-master@8af1aef (2024-12-16T21:50:00Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
You are running the latest version

Other

No response

### Expected behavior When player.setRespawnLocation() is used, player's respawn point should be set to the location provided in () ### Observed/Actual behavior When player.setRespawnLocation() is used, player's respawn point is cleared, regardless of what is in () ### Steps/models to reproduce Use player.setRespawnLocation() in a plugin ### Plugin and Datapack List Only a test plugin ### Folia version > version [14:32:39 INFO]: Checking version, please wait... [14:32:39 INFO]: This server is running Folia version 1.21.4-DEV-master@8af1aef (2024-12-16T21:50:00Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT) You are running the latest version ### Other _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Minecraft/Folia#337
No description provided.