diff --git a/zhenxun/builtin_plugins/hooks/_auth_checker.py b/zhenxun/builtin_plugins/hooks/_auth_checker.py index 4b0b757b..cdc59494 100644 --- a/zhenxun/builtin_plugins/hooks/_auth_checker.py +++ b/zhenxun/builtin_plugins/hooks/_auth_checker.py @@ -501,7 +501,7 @@ class AuthChecker: 返回: int: 需要消耗的金币 """ - if user.gold < plugin.cost_gold: + if user.gold < plugin.cost_gold and plugin.cost_gold > 0: """插件消耗金币不足""" try: await MessageUtils.build_message(