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
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/command/commands/GiveAllCommand.java
View file @
c2b8a20e
...
...
@@ -98,14 +98,14 @@ public class GiveAllCommand implements CommandHandler {
if
(
isTestItem
(
itemdata
.
getId
()))
continue
;
if
(
itemdata
.
isEquip
())
{
for
(
int
i
=
0
;
i
<
5
;
++
i
)
{
GameItem
item
=
new
GameItem
(
itemdata
);
if
(
itemdata
.
getItemType
()
==
ItemType
.
ITEM_WEAPON
)
{
if
(
itemdata
.
getItemType
()
==
ItemType
.
ITEM_WEAPON
)
{
for
(
int
i
=
0
;
i
<
5
;
++
i
)
{
GameItem
item
=
new
GameItem
(
itemdata
);
item
.
setLevel
(
90
);
item
.
setPromoteLevel
(
6
);
item
.
setRefinement
(
4
);
itemList
.
add
(
item
);
}
itemList
.
add
(
item
);
}
}
else
{
...
...
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