1e5053c
Branches > main > 1e5053c > files / src / net / bowmap / server
Use random session id in login success packet
Commit: 1e5053ce04343b90a319c6755c2202fb0816ae60
Parent: f9703b2
2 changed files:
src/net/bowmap/network/handle.clj view file
@@ -50,7 +50,7 @@ :profile {:uuid uuid :username username :properties []}- :uuid uuid}))+ :session-id (random-uuid)})) client) (defmethod handler ::serverbound/login-acknowledged [client a pk]src/net/bowmap/network/packets/clientbound.clj view file
@@ -190,7 +190,7 @@ {::status-response [:response "Response to serverbound ::status-request" json->] ::pong-response [:timestamp "The same timestamp as serverbound ::ping-request" long->] ::login-success [:profile game-profile->- :uuid uuid->]+ :session-id uuid->] ::known-packs [:known-packs (list-> [:namespace string-> :id string-> :version string->])]