Fix a deprecated method
This commit is contained in:
parent
2d3dda245a
commit
fad0da2c15
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue