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
c2b8a20e
Commit
c2b8a20e
authored
Apr 30, 2022
by
lhhxxxxx
Committed by
Melledy
Apr 30, 2022
Browse files
Update GiveAllCommand.java
giveall command nomore give arts
parent
d8e458cd
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/command/commands/GiveAllCommand.java
View file @
c2b8a20e
...
...
@@ -98,16 +98,16 @@ public class GiveAllCommand implements CommandHandler {
if
(
isTestItem
(
itemdata
.
getId
()))
continue
;
if
(
itemdata
.
isEquip
())
{
if
(
itemdata
.
getItemType
()
==
ItemType
.
ITEM_WEAPON
)
{
for
(
int
i
=
0
;
i
<
5
;
++
i
)
{
GameItem
item
=
new
GameItem
(
itemdata
);
if
(
itemdata
.
getItemType
()
==
ItemType
.
ITEM_WEAPON
)
{
item
.
setLevel
(
90
);
item
.
setPromoteLevel
(
6
);
item
.
setRefinement
(
4
);
}
itemList
.
add
(
item
);
}
}
}
else
{
GameItem
item
=
new
GameItem
(
itemdata
);
item
.
setCount
(
amount
);
...
...
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