Fixed filters and disks stacking (and messing up NBT data)

This commit is contained in:
Brian Ricketts 2012-12-30 15:45:34 -06:00
parent 433b06ea55
commit f50698c57d
2 changed files with 12 additions and 0 deletions

View file

@ -22,6 +22,12 @@ public class ItemImprinter extends Item
this.setHasSubtypes(true);
this.setTextureFile(AssemblyLine.ITEM_TEXTURE_PATH);
}
@Override
public int getItemStackLimit()
{
return 1;
}
@Override
public void addInformation(ItemStack itemStack, EntityPlayer par2EntityPlayer, List list, boolean par4)

View file

@ -22,6 +22,12 @@ public class ItemDisk extends Item
this.setHasSubtypes(true);
this.setTextureFile(AssemblyLine.ITEM_TEXTURE_PATH);
}
@Override
public int getItemStackLimit()
{
return 1;
}
@Override
public void addInformation(ItemStack itemStack, EntityPlayer par2EntityPlayer, List list, boolean par4)