Renamethe spawn world function
This commit is contained in:
parent
de0ccbaa6e
commit
65818ed0e1
2 changed files with 3 additions and 3 deletions
|
@ -36,8 +36,8 @@ func NewWorld() *World {
|
|||
}
|
||||
}
|
||||
|
||||
// SpawnWorldBorder spawns a border at the edge of the world atlas
|
||||
func (w *World) SpawnWorldBorder() error {
|
||||
// SpawnWorld spawns a border at the edge of the world atlas
|
||||
func (w *World) SpawnWorld() error {
|
||||
return w.Atlas.SpawnWorld()
|
||||
}
|
||||
|
||||
|
|
|
@ -110,7 +110,7 @@ func (s *Server) Initialise() (err error) {
|
|||
s.sync.Add(1)
|
||||
|
||||
// Spawn a border on the default world
|
||||
if err := s.world.SpawnWorldBorder(); err != nil {
|
||||
if err := s.world.SpawnWorld(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue