From 2fccc04903f257b05c1ee90ed45e4da15db4aba6 Mon Sep 17 00:00:00 2001 From: LexManos Date: Fri, 3 Aug 2012 03:35:38 -0700 Subject: [PATCH] setup_fml's decompile will result in proper md5 files now {if there is no compiler issues} --- fml/install/fml.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/fml/install/fml.py b/fml/install/fml.py index a4bb79ea5..ebd4c4c55 100644 --- a/fml/install/fml.py +++ b/fml/install/fml.py @@ -125,7 +125,7 @@ def setup_fml(fml_dir, mcp_dir): from runtime.decompile import decompile from runtime.cleanup import cleanup from runtime.commands import Commands, CLIENT, SERVER - from runtime.mcp import decompile_side + from runtime.mcp import decompile_side, updatemd5_side src_dir = os.path.join(mcp_dir, 'src') @@ -200,6 +200,13 @@ def setup_fml(fml_dir, mcp_dir): merge_client_server(mcp_dir) + os.chdir(mcp_dir) + commands = Commands(verify=True) + updatemd5_side(commands, CLIENT) + updatemd5_side(commands, SERVER) + reset_logger() + os.chdir(fml_dir) + def merge_client_server(mcp_dir): client = os.path.join(mcp_dir, 'src', 'minecraft') server = os.path.join(mcp_dir, 'src', 'minecraft_server')