    001    package net.minecraft.src;
    002
    003    import cpw.mods.fml.common.Side;
    004    import cpw.mods.fml.common.asm.SideOnly;
    005    import java.util.concurrent.Callable;
    006    import net.minecraft.client.ClientBrandRetriever;
    007    import net.minecraft.client.Minecraft;
    008
    009    @SideOnly(Side.CLIENT)
    010    public class CallableModded implements Callable
    011    {
    012        /** Reference to the Minecraft object. */
    013        final Minecraft mc;
    014
    015        public CallableModded(Minecraft par1Minecraft)
    016        {
    017            this.mc = par1Minecraft;
    018        }
    019
    020        /**
    021         * Gets if Client Profiler (aka Snooper) is enabled.
    022         */
    023        public String getClientProfilerEnabled()
    024        {
    025            String var1 = ClientBrandRetriever.getClientModName();
    026            return !var1.equals("vanilla") ? "Definitely; Client brand changed to \'" + var1 + "\'" : (Minecraft.class.getSigners() == null ? "Very likely; Jar signature invalidated" : "Probably not. Jar signature remains and client brand is untouched.");
    027        }
    028
    029        public Object call()
    030        {
    031            return this.getClientProfilerEnabled();
    032        }
    033    }