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
883b6f1f
Commit
883b6f1f
authored
Jul 25, 2022
by
AnimeGitB
Committed by
Luke H-W
Jul 26, 2022
Browse files
[Bug] New avatars always created with C0 constellation
Fixes #1552
parent
ffeff92d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/command/commands/GiveCommand.java
View file @
883b6f1f
...
...
@@ -240,7 +240,7 @@ public final class GiveCommand implements CommandHandler {
}
private
static
Avatar
makeAvatar
(
GiveItemParameters
param
)
{
return
makeAvatar
(
param
.
avatarData
,
param
.
lvl
,
Avatar
.
getMinPromoteLevel
(
param
.
lvl
),
0
);
return
makeAvatar
(
param
.
avatarData
,
param
.
lvl
,
Avatar
.
getMinPromoteLevel
(
param
.
lvl
),
param
.
constellation
);
}
private
static
Avatar
makeAvatar
(
AvatarData
avatarData
,
int
level
,
int
promoteLevel
,
int
constellation
)
{
...
...
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