108a097
Branches > facts > 108a097 > files / src
Do not allow players with duplicate uuids to join the server
Commit: 108a097dcb51ccdc7370a52fd21ef2d9e190be30
Parent: af56f7e
1 changed file:
src/net/bowmap/network/handle.clj view file
@@ -154,7 +154,9 @@ :enforce-secure-chat? true}) (dosync- (commute server/players assoc uuid player))+ (if (@server/players uuid)+ (throw (Exception. "Player tried to join with an existing UUID"))+ (commute server/players assoc uuid player))) (client/send-clientbound-packet client {::pk/id ::clientbound/game-event