From d957e804b3081aec097c5db0bd436382f1381987 Mon Sep 17 00:00:00 2001 From: ShrBox Date: Mon, 20 Jan 2025 19:40:06 +0800 Subject: [PATCH] fix: fix runtime command warning --- src/legacy/api/CommandAPI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/legacy/api/CommandAPI.cpp b/src/legacy/api/CommandAPI.cpp index 315059f..fec98c6 100644 --- a/src/legacy/api/CommandAPI.cpp +++ b/src/legacy/api/CommandAPI.cpp @@ -260,7 +260,7 @@ Local McClass::newCommand(const Arguments& args) { if (registry) { auto instance = registry->findCommand(name); if (instance) { - lse::LegacyScriptEngine::getInstance().getSelf().getLogger().info( + lse::LegacyScriptEngine::getInstance().getSelf().getLogger().warn( "Runtime command {} already exists, changes will not beapplied except for setOverload!"_tr(name) ); }