Added explicit -dir for Fabric installer

#797
This commit is contained in:
Geoff Bourne 2021-03-11 15:36:34 -06:00
parent 6fa827e9a1
commit 209c6e6dab

View file

@ -54,7 +54,10 @@ if [[ ! -e $installMarker ]]; then
tries=3
set +e
while ((--tries >= 0)); do
java -jar $FABRIC_INSTALLER server -mcversion $VANILLA_VERSION -downloadMinecraft
java -jar $FABRIC_INSTALLER server \
-mcversion $VANILLA_VERSION \
-downloadMinecraft \
-dir /data
if [[ $? == 0 ]]; then
break
fi