[mc] Run FTB server in its directory to support legacy

For #144
This commit is contained in:
Geoff Bourne 2017-05-05 20:18:31 -05:00
parent 2e03ee4197
commit 91def1176d

View file

@ -197,8 +197,10 @@ function installFTB {
mkdir -p ${ftb_dir}
unzip -o ${srv_modpack} -d ${ftb_dir}
cp -f /data/eula.txt ${ftb_dir}/eula.txt
FTB_SERVER_START=${ftb_dir}/ServerStart.sh
cd ${ftb_dir}
FTB_SERVER_START=ServerStart.sh
chmod a+x ${FTB_SERVER_START}
sed -i "s/-jar/-Dfml.queryResult=confirm -jar/" ${FTB_SERVER_START}
}
function installVanilla {