mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-09-10 00:38:55 +03:00
Merge pull request #90 from Grasscutters/account-fix
Fix account dupe key error after selecting starting character
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user