Fixed amrbot dupe

This commit is contained in:
Henry Mao 2013-02-12 14:26:24 +08:00
parent 475d0e494c
commit b41b0f9d04

View file

@ -1,5 +1,7 @@
package assemblyline.common.machine.armbot;
import java.util.Random;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
@ -18,8 +20,6 @@ public class BlockArmbot extends BlockMachine
public BlockArmbot(int id)
{
super("armbot", id, UniversalElectricity.machine);
this.setResistance(5.0f);
this.setHardness(5.0f);
this.setCreativeTab(TabAssemblyLine.INSTANCE);
}
@ -62,6 +62,12 @@ public class BlockArmbot extends BlockMachine
super.breakBlock(world, x, y, z, par5, par6);
}
@Override
public int quantityDropped(Random par1Random)
{
return 0;
}
@Override
public TileEntity createNewTileEntity(World var1)
{