From fb89facd192caaa275c63bc31cf2dbfc31c755ac Mon Sep 17 00:00:00 2001 From: Zkitefly <2573874409@qq.com> Date: Sun, 25 Aug 2024 01:22:21 +0000 Subject: [PATCH] Update converter.py --- optifine/scripts/converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optifine/scripts/converter.py b/optifine/scripts/converter.py index f2ec897..18d8e70 100644 --- a/optifine/scripts/converter.py +++ b/optifine/scripts/converter.py @@ -8,7 +8,7 @@ for item in data['file']: item_keys = list(item.keys()) for key in item_keys: - if key not in ['mcversion', 'name', 'ispreview', 'filename', 'forge']: + if key not in ['mcversion', 'name', 'filename']: del item[key] # 输出至新的 JSON 文件