Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
b9e27828
Commit
b9e27828
authored
2 years ago
by
筱傑
Committed by
GitHub
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fixed can set talent level to 16 bug (#408)
Level should be **lower than 16**
parent
0d262e2d
development
LintRatchet
stable
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.1
v1.3.0
v1.2.2-dev
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/emu/grasscutter/command/commands/TalentCommand.java
+2
-2
.../java/emu/grasscutter/command/commands/TalentCommand.java
with
2 additions
and
2 deletions
+2
-2
src/main/java/emu/grasscutter/command/commands/TalentCommand.java
View file @
b9e27828
...
...
@@ -53,7 +53,7 @@ public final class TalentCommand implements CommandHandler {
CommandHandler
.
sendMessage
(
sender
,
"To get talent ID: /talent getid"
);
return
;
}
if
(
nextLevel
>
16
){
if
(
nextLevel
>
=
16
){
CommandHandler
.
sendMessage
(
sender
,
"Invalid talent level. Level should be lower than 16"
);
return
;
}
...
...
@@ -117,7 +117,7 @@ public final class TalentCommand implements CommandHandler {
CommandHandler
.
sendMessage
(
sender
,
"To set talent level: /talent <n or e or q> <value>"
);
return
;
}
if
(
nextLevel
>
16
){
if
(
nextLevel
>
=
16
){
CommandHandler
.
sendMessage
(
sender
,
"Invalid talent level. Level should be lower than 16"
);
return
;
}
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help