mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-15 16:34:56 +01:00
More refactoring (player id -> player uid)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package emu.grasscutter.game;
|
||||
|
||||
import dev.morphia.annotations.AlsoLoad;
|
||||
import dev.morphia.annotations.Collation;
|
||||
import dev.morphia.annotations.Entity;
|
||||
import dev.morphia.annotations.Id;
|
||||
@@ -24,7 +25,7 @@ public class Account {
|
||||
private String username;
|
||||
private String password; // Unused for now
|
||||
|
||||
private int playerId;
|
||||
@AlsoLoad("playerUid") private int playerId;
|
||||
private String email;
|
||||
|
||||
private String token;
|
||||
@@ -68,7 +69,7 @@ public class Account {
|
||||
this.token = token;
|
||||
}
|
||||
|
||||
public int getPlayerId() {
|
||||
public int getPlayerUid() {
|
||||
return this.playerId;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user