Fix session resuming

This commit is contained in:
bad 2021-10-08 22:44:02 +02:00
parent 01df3272b5
commit 1a691389ec
1 changed files with 3 additions and 0 deletions

View File

@ -94,6 +94,9 @@ func (s *Session) HandlerLoop() {
s.Connection.sendPacket(subMessage)
}
}
c := <-s.ConnecionChannel
s.Connect(c)
s.HandlerLoop()
}
func (s *Session) Disconnect(code packets.DisconnectReasonCode) error {