mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-16 08:37:12 +00:00
Provide option to apply Cleanroom to any Forge-like server type (#4338)
This commit is contained in:
1 parent
9693e382f3
commit
d8cd6f3f38
5 files changed
+81
-48
No files matched your search
@@ -409,4 +409,13 @@ case "X$MODCONFIG" in
|
||||
esac
|
||||
fi
|
||||
|
||||
if isTrue "${APPLY_CLEANROOM}"; then
|
||||
if [[ "$VERSION" != "1.12.2" ]]; then
|
||||
logError "Cleanroom only works with Minecraft version 1.12.2. Current version is $VERSION."
|
||||
exit 1
|
||||
fi
|
||||
# run within the current shell to retain exported environment variables
|
||||
. "$(dirname "$0")/start-applyCleanroom"
|
||||
fi
|
||||
|
||||
exec "$(dirname "$0")/start-setupMounts" "$@"
|
||||
Reference in new issue
Block a user