Can't create world without bukkit finding initial spawn for it #11630
Labels
scope: performance
status: accepted
Disputed bug is accepted as valid or Feature accepted as desired to be added.
Expected behavior
Creating worlds is very expensive in part because setInitialSpawn() is called which calls findSpawnPosition(), even if we provide the worlds generator with a fixed spawn location, the findspawnposition code is called before the fixed spawn position check
Solution
The fix is simple
ChunkPos chunkcoordintpair
line should be moved down below the fixed spawn check from line 804 to line 819 (its not even used until line 823)Paper version
Latest 1.21.1 1.21.1-DEV-755a775 (MC: 1.21.1)
The text was updated successfully, but these errors were encountered: