    001    package net.minecraft.server;
    002
    003    import java.util.concurrent.Callable;
    004
    005    public class CallableIsServerModded implements Callable
    006    {
    007        /** Reference to the MinecraftServer object. */
    008        final MinecraftServer mcServer;
    009
    010        public CallableIsServerModded(MinecraftServer par1MinecraftServer)
    011        {
    012            this.mcServer = par1MinecraftServer;
    013        }
    014
    015        public String func_82556_a()
    016        {
    017            return this.mcServer.theProfiler.profilingEnabled ? this.mcServer.theProfiler.getNameOfLastSection() : "N/A (disabled)";
    018        }
    019
    020        public Object call()
    021        {
    022            return this.func_82556_a();
    023        }
    024    }