// StateDir returns directory where all gravity data is stored on this server
StateDir returns directory where all gravity data is stored on this server
// StateDir returns directory where all gravity data is stored on this server
func (s *Server) StateDir() string {
	if s.SystemState.StateDir != "" {
		return s.SystemState.StateDir
	}
	return defaults.GravityDir
}
func ( s * Server ) StateDir ( ) string { if s . SystemState . StateDir != " " { return s . SystemState . StateDir } return defaults . GravityDir }
StateDir returns directory where all gravity data is stored on this server
StateDir returns directory where all gravity data is stored on this server