[Bleeding] Made ItemStack constructors not default to an amount of 0. Fixes BUKKIT-610

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
This commit is contained in:
CraftBukkit/Spigot 2012-03-12 16:59:00 -04:00
parent 4113afbd7c
commit 6f4a370798

View file

@ -30,11 +30,11 @@ public class CraftItemStack extends ItemStack {
/* 'Overwritten' constructors from ItemStack, yay for Java sucking */
public CraftItemStack(final int type) {
this(type, 0);
this(type, 1);
}
public CraftItemStack(final Material type) {
this(type, 0);
this(type, 1);
}
public CraftItemStack(final int type, final int amount) {