diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java b/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java index 7eb1e8f9d..cc8c7e128 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java @@ -55,7 +55,8 @@ public class Commandunlimited extends EssentialsCommand return; } - ItemStack stack = ess.getItemDb().get(args[0], 2); + final ItemStack stack = ess.getItemDb().get(args[0], 1); + stack.setAmount(stack.getType().getMaxStackSize()); String itemname = stack.getType().toString().toLowerCase().replace("_", ""); if (!user.isAuthorized("essentials.unlimited.item-all")