From a0211c4fb7138263b4cb51e434bf20e213cdfe5d Mon Sep 17 00:00:00 2001 From: LexManos Date: Tue, 9 Jul 2013 03:27:29 -0700 Subject: [PATCH] Don't validate signatures on servers, they are not signed. --- fml/common/cpw/mods/fml/common/asm/FMLSanityChecker.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fml/common/cpw/mods/fml/common/asm/FMLSanityChecker.java b/fml/common/cpw/mods/fml/common/asm/FMLSanityChecker.java index 0be5ffb08..48cbc6cc6 100644 --- a/fml/common/cpw/mods/fml/common/asm/FMLSanityChecker.java +++ b/fml/common/cpw/mods/fml/common/asm/FMLSanityChecker.java @@ -55,6 +55,7 @@ import cpw.mods.fml.common.patcher.ClassPatchManager; import cpw.mods.fml.relauncher.FMLLaunchHandler; import cpw.mods.fml.relauncher.FMLRelaunchLog; import cpw.mods.fml.relauncher.IFMLCallHook; +import cpw.mods.fml.relauncher.Side; public class FMLSanityChecker implements IFMLCallHook { @@ -120,7 +121,7 @@ public class FMLSanityChecker implements IFMLCallHook goodFML = true; } - boolean goodMC = false; + boolean goodMC = FMLLaunchHandler.side() == Side.SERVER; //Server is not signed, so assume it's good. try { Class cbr = Class.forName("net.minecraft.server.MinecraftServer",false, cl);