    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        final MinecraftServer field_82557_a;
    009
    010        public CallableIsServerModded(MinecraftServer par1MinecraftServer)
    011        {
    012            this.field_82557_a = par1MinecraftServer;
    013        }
    014
    015        public String func_82556_a()
    016        {
    017            String var1 = this.field_82557_a.getServerModName();
    018            return !var1.equals("vanilla") ? "Definitely; \'" + var1 + "\'" : "Unknown (can\'t tell)";
    019        }
    020
    021        public Object call()
    022        {
    023            return this.func_82556_a();
    024        }
    025    }