diff --git a/server_mc_manager.py b/server_mc_manager.py index 810433f..7f9b22e 100644 --- a/server_mc_manager.py +++ b/server_mc_manager.py @@ -35,7 +35,7 @@ class MinecraftServerManager: " -XX:MaxTenuringThreshold=1 -Daikars.new.flags=true" " -Dusing.aikars.flags=https://mcutils.com") - java: str = f"/usr/lib/jvm/java-{get_sdk_version(version)}-openjdk/bin/java" + java: str = f"/usr/lib/jvm/java-{get_sdk_version(version)}-openjdk-amd64/bin/java" command = f"{java} -Xmx{memory_size} {reg_flags} -jar {jar_file} --nogui" process = subprocess.Popen(shlex.split(command), cwd=server_directory, stdin=subprocess.PIPE)