Ignore defaultstacksize from config, just use 64

This commit is contained in:
snowleo 2011-11-28 17:58:06 +01:00
parent 4614d6d0dd
commit 7268e1965d
3 changed files with 7 additions and 7 deletions

View file

@ -72,7 +72,7 @@ public class Commanditem extends EssentialsCommand
final String displayName = stack.getType().toString().toLowerCase(Locale.ENGLISH).replace('_', ' ');
user.sendMessage(_("itemSpawn", stack.getAmount(), displayName));
InventoryWorkaround.addItem(user.getInventory(), true, true, ess, stack);
InventoryWorkaround.addItem(user.getInventory(), true, true, stack);
user.updateInventory();
}
}