diff --git a/scripts/makemcdevsrc.sh b/scripts/makemcdevsrc.sh index a59992424..a4123a5a4 100755 --- a/scripts/makemcdevsrc.sh +++ b/scripts/makemcdevsrc.sh @@ -5,6 +5,7 @@ set -e PS1="$" basedir="$(cd "$1" && pwd -P)" +cd "$basedir" workdir="$basedir/work" minecraftversion=$(cat "$workdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4) decompiledir="$workdir/Minecraft/$minecraftversion"