This commit is contained in:
Joey Eamigh
2023-06-21 23:17:17 -04:00
parent 9bea47ca50
commit e3ae3fe83d
4 changed files with 112 additions and 1 deletions

View File

@@ -82,7 +82,10 @@ def mods():
)
for file in glob.glob(os.path.join(INSTANCE_DIR, ".minecraft", "mods", "*")):
if os.path.basename(file) == "OptiFine_1.16.5_HD_U_G8.jar":
if (
os.path.basename(file) == "OptiFine_1.16.5_HD_U_G8.jar"
or os.path.basename(file) == "TrainerCommands-1.16.5-2.6.0.jar"
):
continue
os.remove(file)