This commit is contained in:
@@ -34,7 +34,7 @@ func KickPlayer(userid uint32) error { //踢出玩家
|
||||
//TODO 返回错误码
|
||||
//var player *entity.Player
|
||||
if player1, ok := Mainplayer.Load(userid); ok {
|
||||
player1.Kick()
|
||||
player1.Kick(false)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user