rrrrrrrrrrrrrruuuuuuuuuuuuuuuuuuuuffffffffffffffffffffffffff

This commit is contained in:
minecraft1024a
2025-09-05 21:01:32 +08:00
parent 513757a8ee
commit e1fbdaad8c
14 changed files with 4 additions and 21 deletions

View File

@@ -200,7 +200,7 @@ class PluginManager:
# 检查并调用 on_plugin_loaded 钩子(如果存在)
if hasattr(plugin_instance, "on_plugin_loaded") and callable(
getattr(plugin_instance, "on_plugin_loaded")
plugin_instance.on_plugin_loaded
):
logger.debug(f"为插件 '{plugin_name}' 调用 on_plugin_loaded 钩子")
try: