Vanilla Spectator Mode (#873)
* impl vanilla spectator mode
* patch (#884)
* patch
* fix
* - Set game mode after client initialization completes
- Prevent AdventureSettings from being repeatedly sent to the client when the player enters the server
- Code optimization
* Optimize client joining experience
* - AdventureSettings constructor filled in gaps
- Only calculate safeSpawn for survival or adventure mode players
* Flying mode is now not lost if player is gm 1 or 3
* 顺带修改下Terra((
* Move gamemode reading to Player::processLogin()
Co-authored-by: CoolLoong <
1542536763@qq.com>