PaperMC / Folia

Fork of Paper which adds regionised multithreading to the dedicated server.
GNU General Public License v3.0
3.48k stars 430 forks source link

Players not spawning at world spawn if spawnRadius is 0 #222

Open MATRIX-feather opened 3 months ago

MATRIX-feather commented 3 months ago

Expected behavior

When spawnRadius is set to 0, players on the server will spawn at [0,0] on their first join or respawn if they don't have a spawnpoint set.

Observed/Actual behavior

Players always spawn at [0,0] no matter what the world spawn is.

Steps/models to reproduce

  1. Set spawnRadius by /gamerule spawnRadius 0
  2. Set a custom world spawn by /setworldspawn
  3. Get killed or join with a new account
  4. You still standing at [0,0] instead of the custom world spawn

Plugin and Datapack List

No plugins.

Datapacks:

-rw-r--r-- 1 Kinopico Kinopico 908K Feb 26 23:00  AC_TheAncientCityOverhaul_v1_6.zip
-rw-r--r-- 1 Kinopico Kinopico 1.4M Apr 27 18:31  CITY_better-end-city-vanilla.zip
-rw-r--r-- 1 Kinopico Kinopico 6.4M Feb 26 23:06 'Dungeons and Taverns v3.1.1.zip'
-rw-r--r-- 1 Kinopico Kinopico 323K Feb 26 23:05 'HopoBetterRuinedPortals-[1.19-1.19.3]-1.3.3b.zip'
-rw-r--r-- 1 Kinopico Kinopico  88K Apr 27 18:42  NETHER_hearths-v1.0.0-pf15.zip
-rw-r--r-- 1 Kinopico Kinopico 813K Apr 27 19:51  S_thebastionoverhaul-v1-0.zip
-rw-r--r-- 1 Kinopico Kinopico 1.2M Feb 26 23:04  Structory_1.20.2_v1.3.4.zip
-rw-r--r-- 1 Kinopico Kinopico 3.2M Feb 26 23:05 '[DatapackVer.]HopoBetterMineshaft-[1.20.2-1.20.4]-1.2.0.zip'
-rw-r--r-- 1 Kinopico Kinopico 616K Feb 26 23:05 '[DatapackVer.]HopoBetterUnderwaterRuins-[1.20.2-1.20.4]-1.1.5.zip'
drwxr-xr-x 1 Kinopico Kinopico    0 Apr 27 18:30  bukkit
-rw-r--r-- 1 Kinopico Kinopico 153K Feb 26 22:58  explorify-v1.3.0-pf15-18.zip
drwxr-xr-x 1 Kinopico Kinopico    0 Apr 27 18:30  fomwt
-rw-r--r-- 1 Kinopico Kinopico 119K May  7 20:19  tectonic-datapack-v2.2.2.zip

Folia version

> ver
[13:48:25 INFO]: Checking version, please wait...
[13:48:26 INFO]: This server is running Folia version git-Folia-"ec6b172" (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: ec6b172)
You are running the latest version
Previous version: git-Luminol-"3ee5f92" (MC: 1.20.4)

Other

This behavior doesn't seem to exist on Paper

Strokkur424 commented 1 month ago

I can confirm this to still be a bug in the latest version of Folia (1.20.6 Patch 5). Here is a quick recording I did regarding that: https://youtu.be/aquvqg6Yeyc

EDIT: Plugins: LuckPerms + Spark Datapacks: None

Otherwise fresh download. Not played on the server