Should fix commands.py patching not working properly first run.

This commit is contained in:
LexManos 2012-08-12 14:32:01 -07:00
parent a024be74e6
commit bef0090af0
2 changed files with 5 additions and 6 deletions

View File

@ -193,7 +193,7 @@ public class ForgeHooks
return _default;
}
}
public static int getTotalArmorValue(EntityPlayer player)
{
int ret = 0;

View File

@ -8,12 +8,7 @@ mcp_dir = os.path.abspath('..')
src_dir = os.path.join(mcp_dir, 'src')
fml_dir = os.path.join(forge_dir, 'fml')
sys.path.append(mcp_dir)
sys.path.append(fml_dir)
from runtime.updatenames import updatenames
from runtime.updatemd5 import updatemd5
from runtime.updatemcp import updatemcp
from forge import apply_forge_patches
from fml import setup_fml, finish_setup_fml, apply_fml_patches, setup_mcp, reset_logger
@ -25,6 +20,10 @@ def main():
apply_fml_patches(fml_dir, mcp_dir, os.path.join(mcp_dir, 'src'))
finish_setup_fml(fml_dir, mcp_dir)
print '================ Forge ModLoader Setup End ==================='
sys.path.append(mcp_dir)
from runtime.updatenames import updatenames
from runtime.updatemd5 import updatemd5
print '=============================== Minecraft Forge Setup Start ====================================='
print 'Applying forge patches'