From f3c284069cde1803f6a667c49a9357a375f594c7 Mon Sep 17 00:00:00 2001 From: Melledy <121644117+Melledy@users.noreply.github.com> Date: Mon, 11 Dec 2023 05:16:18 -0800 Subject: [PATCH] Increase the amount of materials given by /giveall --- .../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 0afeb97..583ad6c 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, 1000)); + items.add(new GameItem(excel, excel.getPileLimit())); } } // Credits - items.add(new GameItem(2, 50_000_000)); + items.add(new GameItem(2, Integer.MAX_VALUE)); // Add to target's inventory target.getInventory().addItems(items, true);