    001package net.minecraft.client;
    002
    003import cpw.mods.fml.relauncher.Side;
    004import cpw.mods.fml.relauncher.SideOnly;
    005import java.util.concurrent.Callable;
    006import org.lwjgl.Sys;
    007
    008@SideOnly(Side.CLIENT)
    009public class CallableLWJGLVersion implements Callable
    010{
    011    /** Reference to the Minecraft object. */
    012    final Minecraft mc;
    013
    014    public CallableLWJGLVersion(Minecraft par1Minecraft)
    015    {
    016        this.mc = par1Minecraft;
    017    }
    018
    019    public String getType()
    020    {
    021        return Sys.getVersion();
    022    }
    023
    024    public Object call()
    025    {
    026        return this.getType();
    027    }
    028}