setRespawnLocation clears player's spawn point
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 4.4k
- Forks
- 623
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior with a test plugin using player.setRespawnLocation() and inspect that method's implementation and related tests or server behavior. Done means the player's respawn point remains set to the location supplied to the method instead of being cleared.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100