func (cd *CrashHandler) LastCrashTime() time.Time {
	cd.mu.RLock()
	defer cd.mu.RUnlock()
	return cd.lastCrash
}
Returns the time of the last crash for this server instance.
package server
import (
	"fmt"
	"strconv"
	"sync"
	"time"
	"github.com/pterodactyl/wings/config"
	"github.com/pterodactyl/wings/environment"
)
type CrashHandler struct {
	mu sync.RWMutex
	lastCrash time.Time
}