diff --git a/minecraft-server/start-minecraft.sh b/minecraft-server/start-minecraft.sh index 4a1b94c5..6258893a 100755 --- a/minecraft-server/start-minecraft.sh +++ b/minecraft-server/start-minecraft.sh @@ -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 {