mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-24 03:38:04 +00:00
Update GiveAllCommand.java
giveall command nomore give arts
This commit is contained in:
parent
b5582099f9
commit
c2b45a7a0d
@ -98,14 +98,14 @@ public class GiveAllCommand implements CommandHandler {
|
|||||||
if (isTestItem(itemdata.getId())) continue;
|
if (isTestItem(itemdata.getId())) continue;
|
||||||
|
|
||||||
if (itemdata.isEquip()) {
|
if (itemdata.isEquip()) {
|
||||||
for (int i = 0; i < 5; ++i) {
|
if (itemdata.getItemType() == ItemType.ITEM_WEAPON) {
|
||||||
GameItem item = new GameItem(itemdata);
|
for (int i = 0; i < 5; ++i) {
|
||||||
if (itemdata.getItemType() == ItemType.ITEM_WEAPON) {
|
GameItem item = new GameItem(itemdata);
|
||||||
item.setLevel(90);
|
item.setLevel(90);
|
||||||
item.setPromoteLevel(6);
|
item.setPromoteLevel(6);
|
||||||
item.setRefinement(4);
|
item.setRefinement(4);
|
||||||
|
itemList.add(item);
|
||||||
}
|
}
|
||||||
itemList.add(item);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user