Folia icon indicating copy to clipboard operation
Folia copied to clipboard

Bug with /gamerule spawnRadius x /setworldspawn

Open Gohst101 opened this issue 2 months ago • 0 comments

Expected behavior

When the /gamerule spawnRadius is 0 and /setworldspawn ~ ~ ~ is set to another coordinate than the normal starter World Spawn the players with no respawnpoint should respawn on the exact Block wich will be set with /setworldspawn ~ ~ ~. But if the /gamerule spawnRadius is 0 players respawn at the first world spawn.

Observed/Actual behavior

If you change the /setworldspawn ~ ~ ~ and do /gamerule spawnRadius 0 you should spawn at the befor set world spawnpoint. When /gamerule spawnRadius is 0 the game spawns you somewhere else than the set Respawn Point. When /gamerule spawnRadius is 1 or more the game spawns you at the world spawnpoint wich was changed bevor.

Steps/models to reproduce

  1. Mark the normal World Spawnpoint.
  2. Go to another location. Mark and set the World Respawnpoint with /setworldspawn
  3. Now set the Respawnradius with /gamerule spawnRadius to 0 and move away a bit.
  4. Do /kill and you should spawn at the Normal World Spawnpoint.
  5. Now set the Respawnradius with /gamerule spawnRadius to 1 or more.
  6. Again do /kill and you should now spawn at the World Spawnpoint location set in Step 2.

Plugin and Datapack List

No Plugins or Datapacks used.

Folia version

Folia version 1.21.8-6-ver/1.21.8@612d9bd (2025-09-30T14:11:15Z) (Implementing API version 1.21.8-R0.1-SNAPSHOT)

Other

This issue was reported befor in the 1.20.4 Version of Folia but it is back again. https://github.com/PaperMC/Folia/issues/222

Gohst101 avatar Oct 04 '25 18:10 Gohst101