Revert to the old behavior of oversized stacks. We might remove or change this in the future.

This commit is contained in:
snowleo 2011-11-27 10:59:28 +01:00
parent 0c0c9573be
commit d5db9d404a
3 changed files with 10 additions and 5 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, stack);
InventoryWorkaround.addItem(user.getInventory(), true, true, ess, stack);
user.updateInventory();
}
}