Revert de5f4e469...c270abe96

This commit is contained in:
Mariell Hoversholm
2021-03-16 19:43:56 +01:00
parent 1ecd8a1ca7
commit ebbbfa4e37
8 changed files with 12 additions and 20 deletions

View File

@@ -97,10 +97,9 @@ echo "Importing MC Dev"
applyPatch "work/Spigot/Spigot-API" Paper-API HEAD &&
applyPatch "work/Spigot/Spigot-Server" Paper-Server HEAD
cd "$basedir"
revision="$(cat "$basedir"/revision.txt | tr -d '\n')"
# if we have previously ran ./paper mcdev, update it
if [ -d "$workdir/Minecraft/$minecraftversion-$revision/src" ]; then
if [ -d "$workdir/Minecraft/$minecraftversion/src" ]; then
./scripts/makemcdevsrc.sh "$basedir"
fi
) || (