Fixed amrbot dupe
This commit is contained in:
parent
475d0e494c
commit
b41b0f9d04
1 changed files with 8 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue