Fix a deprecated method

This commit is contained in:
Ben Spiers 2014-08-04 01:09:44 +01:00
parent 2d3dda245a
commit fad0da2c15

View file

@ -148,7 +148,7 @@ public class BlockGasTank extends BlockContainer
} }
@Override @Override
public boolean removedByPlayer(World world, EntityPlayer player, int x, int y, int z) public boolean removedByPlayer(World world, EntityPlayer player, int x, int y, int z, boolean willHarvest)
{ {
if(!player.capabilities.isCreativeMode && !world.isRemote && canHarvestBlock(player, world.getBlockMetadata(x, y, z))) if(!player.capabilities.isCreativeMode && !world.isRemote && canHarvestBlock(player, world.getBlockMetadata(x, y, z)))
{ {