From 2e1967cb5ad2aa2ee18c4f59f3df6bcc88633e8c Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Wed, 8 Jan 2020 20:01:56 -0600 Subject: [PATCH] Fixed issue with register --- GeoffreyApp/api/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeoffreyApp/api/commands.py b/GeoffreyApp/api/commands.py index f571222..dec2ada 100644 --- a/GeoffreyApp/api/commands.py +++ b/GeoffreyApp/api/commands.py @@ -153,7 +153,7 @@ def register(player_name, discord_uuid=None): try: player = get_player(mc_uuid=mc_uuid) - if discord_uuid is not None and player.discord_uuid == "": + if discord_uuid is not None and player.discord_uuid is None: player.discord_uuid = discord_uuid player.save() return player.json