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:
parent
63a9a51c5f
commit
125eeec747
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue