2011-07-29 21:15:21 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2011-08-05 11:07:03 +00:00
|
|
|
cd ..
|
2011-07-29 21:15:21 +00:00
|
|
|
|
2011-08-05 11:07:03 +00:00
|
|
|
rm -rf src bin src_forge
|
2011-07-29 21:15:21 +00:00
|
|
|
|
2011-08-05 00:32:56 +00:00
|
|
|
cp -a src_work src_forge
|
2011-07-29 21:15:21 +00:00
|
|
|
|
2011-08-05 00:32:56 +00:00
|
|
|
cp -a forge/forge_client/src/net/* src_forge/minecraft/net/
|
2012-02-10 11:06:08 +00:00
|
|
|
cp -a forge/forge_server/src/net/* src_forge/minecraft_server/net/
|
2011-08-05 00:32:56 +00:00
|
|
|
cp -a forge/forge_common/net/* src_forge/minecraft/net/
|
|
|
|
cp -a forge/forge_common/net/* src_forge/minecraft_server/net/
|
|
|
|
|
2012-02-21 08:53:33 +00:00
|
|
|
pushd forge > /dev/null
|
|
|
|
./inject_version.sh $OLDPWD/src_forge/minecraft/net/minecraft/src/forge/ForgeHooks.java
|
|
|
|
./inject_version.sh $OLDPWD/src_forge/minecraft_server/net/minecraft/src/forge/ForgeHooks.java
|
|
|
|
popd > /dev/null
|
2012-01-25 07:00:31 +00:00
|
|
|
|
2011-08-05 00:32:56 +00:00
|
|
|
cp -a src_forge src
|
2011-07-29 21:15:21 +00:00
|
|
|
|
|
|
|
./recompile.sh
|
|
|
|
|
|
|
|
|