This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user