From f3093f1ef6cb60b4ef06c097f1c89ce36ae6a0e5 Mon Sep 17 00:00:00 2001 From: Oganesson897 <101081378+Oganesson897@users.noreply.github.com> Date: Sun, 19 Jan 2025 20:18:25 +0900 Subject: [PATCH] fix: client mod in server pack --- build/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/main.py b/build/main.py index ff6cf7b95..e834b06b1 100644 --- a/build/main.py +++ b/build/main.py @@ -97,7 +97,7 @@ def export_server_pack(): shutil.copy("LICENSE", "build/server/LICENSE") os.chdir("build/server") - subprocess.run(['java', '-jar', 'packwiz-installer-bootstrap.jar', '../../pack.toml'], check=True) + subprocess.run(['java', '-jar', 'packwiz-installer-bootstrap.jar', '-s', 'server', '../../pack.toml'], check=True) with zipfile.ZipFile(server_pack, 'w') as zipf: for folder in ['config', 'groovy', 'libraries', 'mods', 'structures']: