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