From 3f6a9e5dc71e739002d7a7d83b064ca8f06aa66c Mon Sep 17 00:00:00 2001 From: espeon65536 Date: Tue, 10 Aug 2021 09:48:27 -0500 Subject: [PATCH] MC client: only log removal of .apmc files --- MinecraftClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MinecraftClient.py b/MinecraftClient.py index e0a0da2b..da83f5ef 100644 --- a/MinecraftClient.py +++ b/MinecraftClient.py @@ -67,7 +67,7 @@ def replace_apmc_files(forge_dir, apmc_file): for entry in os.scandir(apdata_dir): if ".apmc" in entry.name and entry.is_file(): os.remove(entry.path) - print(f"Removed existing .apmc files in {apdata_dir}") + print(f"Removed {entry.name} in {apdata_dir}") copyfile(apmc_file, os.path.join(apdata_dir, os.path.basename(apmc_file))) print(f"Copied {os.path.basename(apmc_file)} to {apdata_dir}")