1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-07 00:18:14 +08:00
parent 637a49e274
commit 3947fbce4b
14 changed files with 61 additions and 44 deletions

View File

@@ -43,7 +43,7 @@ func (s *Server) QuitSelf(a int) error {
if a != 0 {
player.Mainplayer.Range(func(key uint32, value *player.Player) bool {
if value != nil {
value.Kick()
value.Kick(true)
}
return false
@@ -60,7 +60,7 @@ func (s *Server) QuitSelf(a int) error {
<-time.After(10 * time.Minute)
player.Mainplayer.Range(func(key uint32, value *player.Player) bool {
if value != nil {
value.Kick()
value.Kick(true)
}
return false