Correctly set the server state on install; closes pterodactyl/panel#2236
This commit is contained in:
@@ -185,3 +185,10 @@ func (s *Server) IsSuspended() bool {
|
||||
func (s *Server) Build() *environment.Limits {
|
||||
return &s.Config().Build
|
||||
}
|
||||
|
||||
func (s *Server) ProcessConfiguration() *api.ProcessConfiguration {
|
||||
s.RLock()
|
||||
defer s.RUnlock()
|
||||
|
||||
return s.procConfig
|
||||
}
|
||||
Reference in New Issue
Block a user