Fixed simple blocks not getting removed when breaking them

This commit is contained in:
Unknown 2019-05-21 04:21:03 +02:00
parent d6c2b2e8ee
commit 00b26fc01b

View file

@ -100,12 +100,6 @@ public abstract class BlockAbstractBase extends Block implements IBlockBase {
return blockState;
}
@Override
public boolean removedByPlayer(@Nonnull final IBlockState blockState, final World world, @Nonnull final BlockPos blockPos,
@Nonnull final EntityPlayer player, final boolean willHarvest) {
return willHarvest || super.removedByPlayer(blockState, world, blockPos, player, false);
}
@Override
public boolean rotateBlock(final World world, @Nonnull final BlockPos blockPos, @Nonnull final EnumFacing axis) {
// already handled by vanilla