fix: 插件开关相关bug

This commit is contained in:
Rock Chin
2023-01-16 23:47:57 +08:00
parent 32e8f08398
commit 08d86dbd30
2 changed files with 16 additions and 6 deletions
+1
View File
@@ -197,6 +197,7 @@ def register(name: str, description: str, version: str, author: str):
"hooks": {},
"path": host.__current_module_path__,
"enabled": True,
"instance": None,
}
def wrapper(cls: Plugin):