package net.minecraft.server.integrated;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import java.util.concurrent.Callable;
import net.minecraft.client.ClientBrandRetriever;
import net.minecraft.client.Minecraft;
import net.minecraft.server.integrated.IntegratedServer;

@SideOnly(Side.CLIENT)
class CallableIsModded implements Callable {

   // $FF: synthetic field
   final IntegratedServer field_76972_a;


   CallableIsModded(IntegratedServer p_i1316_1_) {
      this.field_76972_a = p_i1316_1_;
   }

   public String func_76971_a() {
      String var1 = ClientBrandRetriever.getClientModName();
      if(!var1.equals("vanilla")) {
         return "Definitely; Client brand changed to \'" + var1 + "\'";
      } else {
         var1 = this.field_76972_a.getServerModName();
         return !var1.equals("vanilla")?"Definitely; Server brand changed to \'" + var1 + "\'":(Minecraft.class.getSigners() == null?"Very likely; Jar signature invalidated":"Probably not. Jar signature remains and both client + server brands are untouched.");
      }
   }

   // $FF: synthetic method
   public Object call() {
      return this.func_76971_a();
   }
}
