mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-07 04:53:11 +00:00
Revert to the old behavior of oversized stacks. We might remove or change this in the future.
This commit is contained in:
parent
0c0c9573be
commit
d5db9d404a
3 changed files with 10 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue