From 1ce75b7f71707743c7621e6ed671d58fbea854af Mon Sep 17 00:00:00 2001 From: Melledy <121644117+Melledy@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:31:44 -0800 Subject: [PATCH] `/giveall materials` should now give a more "reasonable" amount --- .../java/emu/lunarcore/command/commands/GiveAllCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/emu/lunarcore/command/commands/GiveAllCommand.java b/src/main/java/emu/lunarcore/command/commands/GiveAllCommand.java index 583ad6c..548b493 100644 --- a/src/main/java/emu/lunarcore/command/commands/GiveAllCommand.java +++ b/src/main/java/emu/lunarcore/command/commands/GiveAllCommand.java @@ -38,12 +38,12 @@ public class GiveAllCommand implements CommandHandler { for (ItemExcel excel : GameData.getItemExcelMap().values()) { int purpose = excel.getPurposeType(); if ((purpose >= 1 && purpose <= 7) || purpose == 10) { - items.add(new GameItem(excel, excel.getPileLimit())); + items.add(new GameItem(excel, 10_000)); } } // Credits - items.add(new GameItem(2, Integer.MAX_VALUE)); + items.add(new GameItem(2, 100_000_000)); // Add to target's inventory target.getInventory().addItems(items, true);