Merge remote-tracking branch 'origin/master'

This commit is contained in:
themode 2021-03-21 09:09:52 +01:00
commit 1e138c5db9

View File

@ -96,6 +96,10 @@ public class ItemStack implements DataContainer, PublicCloneable<ItemStack> {
this(material, amount, (short) 0);
}
public ItemStack(@NotNull Material material) {
this(material, (byte) 1, (short) 0);
}
/**
* Gets a new {@link ItemStack} with the material sets to {@link Material#AIR}.
* <p>