mirror of
https://github.com/PaperMC/Folia.git
synced 2025-04-21 11:49:20 +08:00
If we cannot find a spawn pos in the spawn radius, use the same fallback logic as when the world type or player's gamemode does not support spawn selection. This adjusts the spawn position to not be inside a wall or on water.