The player doesn’t have a respawn point because you haven’t used a bed or respawn anchor or something. When the players respawn point is null and the player wants to respawn, the server calculates when the player should respawn. If getRespawnPosition is null, get the world spawn from the ServerLevel
Okay, I shall look into this problem more in depth and look at Kaupenjoe's Java tutorials on YouTube. Thank you so much for all of your support over these last two weeks, you have helped me so much and I think that now I have a better understanding of Java thanks to you. 😊