mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-15 14:54:43 +01:00
Add compose relic materials to the /giveall materials command
This commit is contained in:
@@ -33,7 +33,7 @@ public class GiveAllCommand implements CommandHandler {
|
|||||||
// Character/Relic/Lightcone upgrade materials
|
// Character/Relic/Lightcone upgrade materials
|
||||||
for (ItemExcel excel : GameData.getItemExcelMap().values()) {
|
for (ItemExcel excel : GameData.getItemExcelMap().values()) {
|
||||||
int purpose = excel.getPurposeType();
|
int purpose = excel.getPurposeType();
|
||||||
if (purpose >= 1 && purpose <= 7) {
|
if ((purpose >= 1 && purpose <= 7) || purpose == 10) {
|
||||||
items.add(new GameItem(excel, 1000));
|
items.add(new GameItem(excel, 1000));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user