Don't explicitly save users when they're first seen, as they'll already be saved in the User constructor

This commit is contained in:
Colin McDonald 2016-05-29 02:44:54 -04:00
parent 63a9a51c5f
commit 125eeec747
1 changed files with 1 additions and 1 deletions

View File

@ -37,8 +37,8 @@ public final class POSTUserLogin implements Route {
} }
if (user == null) { if (user == null) {
// Will be saved in the User constructor
user = new User(uuid, username); user = new User(uuid, username);
APIv3.getDatastore().save(user);
} }
Server actorServer = Server.byId(actor.getName()); Server actorServer = Server.byId(actor.getName());