mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-06 20:43:11 +00:00
Ignore defaultstacksize from config, just use 64
This commit is contained in:
parent
4614d6d0dd
commit
7268e1965d
3 changed files with 7 additions and 7 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, true, ess, stack);
|
||||
InventoryWorkaround.addItem(user.getInventory(), true, true, stack);
|
||||
user.updateInventory();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue