Commit 5bef297d authored by Melledy's avatar Melledy Committed by GitHub
Browse files

Merge pull request #90 from Grasscutters/account-fix

Fix account dupe key error after selecting starting character
parents c8100394 e10bad5b
......@@ -170,7 +170,6 @@ public class GenshinPlayer {
public void setUid(int id) {
this.id = id;
this.getProfile().syncWithCharacter(this);
}
public long getNextGenshinGuid() {
......@@ -353,7 +352,6 @@ public class GenshinPlayer {
public PlayerProfile getProfile() {
if (this.playerProfile == null) {
this.playerProfile = new PlayerProfile(this);
this.save();
}
return playerProfile;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment