Fix session resuming

This commit is contained in:
bad 2021-10-08 22:44:02 +02:00
parent 01df3272b5
commit 1a691389ec

View file

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