Skip to content

Commit 56950b7

Browse files
committed
Use the normal client location
1 parent 87083cf commit 56950b7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

msctl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ DEFAULT_VERSION_TYPE='release'
243243
DEFAULT_CLIENT_VERSION='$CURRENT_VERSION'
244244
DEFAULT_CLIENT_JAR='$CLIENT_VERSION.jar'
245245
DEFAULT_CLIENT_URL='https://s3.amazonaws.com/Minecraft.Download/versions/$CLIENT_VERSION/$CLIENT_VERSION.jar'
246-
DEFAULT_CLIENT_LOCATION=$LOCATION'/client/$CLIENT_VERSION'
246+
DEFAULT_CLIENT_LOCATION=$LOCATION'/.minecraft/versions/$CLIENT_VERSION'
247247
DEFAULT_SERVER_VERSION='$CURRENT_VERSION'
248248
DEFAULT_SERVER_JAR='minecraft_server.$SERVER_VERSION.jar'
249249
DEFAULT_SERVER_URL='https://s3.amazonaws.com/Minecraft.Download/versions/$SERVER_VERSION/minecraft_server.$SERVER_VERSION.jar'
@@ -1456,8 +1456,6 @@ overviewer() {
14561456
mkdir -p "$MAPS_LOCATION/$1"
14571457
# Make sure the Minecraft client is available.
14581458
updateClientSoftware "$1"
1459-
CLIENT_JAR=$(getClientJar "$1")
1460-
CLIENT_LOCATION=$(getClientLocation "$1")
14611459
# Make sure that the world files are actually there before mapping.
14621460
if [ -e "$WORLDS_LOCATION/$1/server.properties" ]; then
14631461
# Check for Overviewer settings file.
@@ -1480,7 +1478,6 @@ overviewer() {
14801478
printf "}\n" >> $WORLDS_LOCATION/$1/overviewer-settings.py
14811479
printf "\n" >> $WORLDS_LOCATION/$1/overviewer-settings.py
14821480
printf "outputdir = \"$MAPS_LOCATION/$1\"\n" >> $WORLDS_LOCATION/$1/overviewer-settings.py
1483-
printf "texturepath = \"$CLIENT_LOCATION/$CLIENT_JAR\"\n" >> $WORLDS_LOCATION/$1/overviewer-settings.py
14841481
fi
14851482
# Generate the map and POI.
14861483
$OVERVIEWER_BIN --config="$WORLDS_LOCATION/$1/overviewer-settings.py" >> "$WORLDS_LOCATION/$1/logs/overviewer.log" 2>&1

0 commit comments

Comments
 (0)