Prevent gates with damage value 0 from being shown in creative inventory twice

This commit is contained in:
Tinytimrob 2012-08-29 23:30:35 +00:00
parent 6ba900d5e3
commit f2a9fc5d12

View file

@ -64,7 +64,6 @@ public class ItemGate extends ItemBuildCraft {
@Override
@SideOnly(Side.CLIENT)
public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List itemList) {
super.getSubItems(par1, par2CreativeTabs, itemList);
itemList.add(new ItemStack(this, 1, 0));
itemList.add(new ItemStack(this, 1, 1));
itemList.add(new ItemStack(this, 1, 2));