Merge pull request #359 from mattchance/master
Fix crash when using a wrench on a GasTank
This commit is contained in:
commit
a23a0844fb
1 changed files with 2 additions and 3 deletions
|
@ -143,9 +143,8 @@ public class BlockGasTank extends BlockContainer
|
|||
|
||||
public ItemStack dismantleBlock(World world, int x, int y, int z, boolean returnBlock)
|
||||
{
|
||||
TileEntityElectricBlock tileEntity = (TileEntityElectricBlock)world.getBlockTileEntity(x, y, z);
|
||||
ItemStack itemStack = new ItemStack(Mekanism.GasTank);
|
||||
|
||||
ItemStack itemStack = getPickBlock(null, world, x, y, z);
|
||||
|
||||
world.setBlockToAir(x, y, z);
|
||||
|
||||
if(!returnBlock)
|
||||
|
|
Loading…
Reference in a new issue