From 42d3bfaf5dfc7c276005d6d9957c54b9477d05c5 Mon Sep 17 00:00:00 2001 From: Harry W Date: Thu, 18 Apr 2024 14:43:30 +0100 Subject: [PATCH] Fix Lower Maximum RAM variable --- java/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/entrypoint.sh b/java/entrypoint.sh index d77444c..558d09f 100644 --- a/java/entrypoint.sh +++ b/java/entrypoint.sh @@ -47,7 +47,7 @@ fi # If Lower Xmx is enabled, then replace Xmx with MaxRAMPercentage if [ "${LOWER_XMX}" = 1 ]; then - MODIFIED_STARTUP="${MODIFIED_STARTUP//-Xmx\{\{SERVER_MEMORY\}\}M/-XX:MaxRAMPercentage=80.0}" + STARTUP="${STARTUP//-Xmx\{\{SERVER_MEMORY\}\}M/-XX:MaxRAMPercentage=80.0}" echo -e "\033[1;33mNOTE: \033[0mEnabled Lower Maximum RAM" fi