Default to max stack size

This commit is contained in:
md678685 2018-10-31 14:47:45 +00:00
parent 280d1215de
commit 4c07e584b7

View file

@ -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();