fix: 让事件钩子被暂停时跳出循环,而不是继续执行 (#2989)
This commit is contained in:
@@ -97,5 +97,6 @@ async def call_event_hook(
|
||||
logger.info(
|
||||
f"{star_map[handler.handler_module_path].name} - {handler.handler_name} 终止了事件传播。"
|
||||
)
|
||||
return True
|
||||
|
||||
return event.is_stopped()
|
||||
|
||||
Reference in New Issue
Block a user