Fix laser hardness crash
This commit is contained in:
parent
b29f2adc4d
commit
355209d2e3
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IPer
|
|||
@Override
|
||||
public float getBlockHardness(World world, int x, int y, int z)
|
||||
{
|
||||
if(world.getBlockMetadata(x, y, z) != 13)
|
||||
if(!(blockType == MachineBlock.MACHINE_BLOCK_1 && world.getBlockMetadata(x, y, z) == 13))
|
||||
{
|
||||
return blockHardness;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue