Fix some deprecation warnings

This commit is contained in:
Ben Spiers committed 2014-08-08 23:20:30 +01:00
1 parent 76d2997a6b
commit f596848240
7 files changed
+11 -8

No files matched your search

@@ -752,7 +752,7 @@ public class BlockBasic extends Block
}
@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)))
{