diff --git a/src/main/java/techreborn/blocks/BlockQuantumChest.java b/src/main/java/techreborn/blocks/BlockQuantumChest.java index 635c4f9ab..f34b9d412 100644 --- a/src/main/java/techreborn/blocks/BlockQuantumChest.java +++ b/src/main/java/techreborn/blocks/BlockQuantumChest.java @@ -34,6 +34,7 @@ public class BlockQuantumChest extends BlockContainer { super(Material.rock); setBlockName("techreborn.quantumChest"); setCreativeTab(TechRebornCreativeTab.instance); + setHardness(2.0F); } @Override public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) diff --git a/src/main/java/techreborn/blocks/BlockQuantumTank.java b/src/main/java/techreborn/blocks/BlockQuantumTank.java index f077c7221..f3a073dc4 100644 --- a/src/main/java/techreborn/blocks/BlockQuantumTank.java +++ b/src/main/java/techreborn/blocks/BlockQuantumTank.java @@ -23,6 +23,7 @@ public class BlockQuantumTank extends BlockMachineBase { { super(Material.rock); setBlockName("techreborn.quantumTank"); + setHardness(2.0F); } @Override @@ -32,12 +33,10 @@ public class BlockQuantumTank extends BlockMachineBase { } @Override - public boolean onBlockActivated(World world, int x, int y, int z, - EntityPlayer player, int side, float hitX, float hitY, float hitZ) + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { if (!player.isSneaking()) - player.openGui(Core.INSTANCE, GuiHandler.quantumTankID, world, x, - y, z); + player.openGui(Core.INSTANCE, GuiHandler.quantumTankID, world, x, y, z); return true; }