setup_fml's decompile will result in proper md5 files now {if there is no compiler issues}
This commit is contained in:
parent
7949a15226
commit
2fccc04903
|
@ -125,7 +125,7 @@ def setup_fml(fml_dir, mcp_dir):
|
||||||
from runtime.decompile import decompile
|
from runtime.decompile import decompile
|
||||||
from runtime.cleanup import cleanup
|
from runtime.cleanup import cleanup
|
||||||
from runtime.commands import Commands, CLIENT, SERVER
|
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')
|
src_dir = os.path.join(mcp_dir, 'src')
|
||||||
|
|
||||||
|
@ -200,6 +200,13 @@ def setup_fml(fml_dir, mcp_dir):
|
||||||
|
|
||||||
merge_client_server(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):
|
def merge_client_server(mcp_dir):
|
||||||
client = os.path.join(mcp_dir, 'src', 'minecraft')
|
client = os.path.join(mcp_dir, 'src', 'minecraft')
|
||||||
server = os.path.join(mcp_dir, 'src', 'minecraft_server')
|
server = os.path.join(mcp_dir, 'src', 'minecraft_server')
|
||||||
|
|
Loading…
Reference in New Issue