Spawn a border around the world atlas for now

Also spawn the rover within a single chunk in the middle
This commit is contained in:
Marc Di Luzio 2020-06-07 18:57:44 +01:00
parent cb725c96d2
commit 3781a4d10d
5 changed files with 59 additions and 5 deletions

View file

@ -109,6 +109,11 @@ func (s *Server) Initialise() (err error) {
// Add to our sync
s.sync.Add(1)
// Spawn a border on the default world
if err := s.world.SpawnWorldBorder(); err != nil {
return err
}
// Load the accounts if requested
if err := s.LoadAll(); err != nil {
return err