Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
c164b25f
Commit
c164b25f
authored
May 28, 2022
by
Yazawazi
Committed by
Melledy
May 28, 2022
Browse files
fix(database helper): fix player uid issues
parent
9af10859
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/database/DatabaseHelper.java
View file @
c164b25f
...
...
@@ -97,7 +97,7 @@ public final class DatabaseHelper {
}
public
static
Account
getAccountByPlayerId
(
int
playerId
)
{
return
DatabaseManager
.
getGameDatastore
().
find
(
Account
.
class
).
filter
(
Filters
.
eq
(
"
p
layerId"
,
playerId
)).
first
();
return
DatabaseManager
.
getGameDatastore
().
find
(
Account
.
class
).
filter
(
Filters
.
eq
(
"
reservedP
layerId"
,
playerId
)).
first
();
}
public
static
void
deleteAccount
(
Account
target
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment