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