mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-20 03:59:37 +00:00
Fix laser hardness crash
This commit is contained in:
1 parent
b29f2adc4d
commit
355209d2e3
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user