mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-24 17:12:03 +01:00
Default to max stack size
This commit is contained in:
parent
280d1215de
commit
4c07e584b7
@ -119,6 +119,7 @@ public class ItemDb implements IConf, net.ess3.api.IItemDb {
|
||||
Material material = data.getMaterial();
|
||||
|
||||
ItemStack stack = new ItemStack(material);
|
||||
stack.setAmount(material.getMaxStackSize());
|
||||
|
||||
if (potionData != null) {
|
||||
PotionMeta meta = (PotionMeta) stack.getItemMeta();
|
||||
|
Loading…
Reference in New Issue
Block a user