From ed1f8bbc47c75138d27ea8baf0daf199730fc7ef Mon Sep 17 00:00:00 2001 From: ra1ny-yuki Date: Thu, 15 Dec 2022 09:59:19 +0800 Subject: [PATCH] 2.3.5 --- mcd_task/__init__.py | 4 ++++ mcdreforged.plugin.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mcd_task/__init__.py b/mcd_task/__init__.py index eaa9bd3..c83989c 100755 --- a/mcd_task/__init__.py +++ b/mcd_task/__init__.py @@ -51,3 +51,7 @@ def on_load(server: PluginServerInterface, prev_module): GlobalVariables.setup_task_manager(TaskManager.load()) register_cmd_tree(server) server.register_help_message(PREFIX, server.tr("mcd_task.mcdr_help")) + + +def on_unload(*args, **kwargs): + GlobalVariables.logger.unset_file() diff --git a/mcdreforged.plugin.json b/mcdreforged.plugin.json index a7fe5b2..30e0eda 100644 --- a/mcdreforged.plugin.json +++ b/mcdreforged.plugin.json @@ -1,6 +1,6 @@ { "id": "mcd_task", - "version": "2.3.4+build.66", + "version": "2.3.5+build.67", "name": "Task", "description": { "en_us": "A plugin to show tasks of project in progress",