aboutsummaryrefslogtreecommitdiff
path: root/codegen/lib/download.py
diff options
context:
space:
mode:
Diffstat (limited to 'codegen/lib/download.py')
-rw-r--r--codegen/lib/download.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/lib/download.py b/codegen/lib/download.py
index a8c36d20..7878bb45 100644
--- a/codegen/lib/download.py
+++ b/codegen/lib/download.py
@@ -206,5 +206,5 @@ def clear_version_cache():
pumpkin_path = get_dir_location("__cache__/pumpkin-extractor")
if os.path.exists(pumpkin_path):
os.system(
- f"cd {pumpkin_path} && git add . && git stash && git pull && git stash pop"
+ f"cd {pumpkin_path} && git add . && git stash && git pull && git stash pop && git checkout HEAD -- src/main/resources/fabric.mod.json"
)