Skip to content

Commit d957e80

Browse files
committed
fix: fix runtime command warning
1 parent e4cc63c commit d957e80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/legacy/api/CommandAPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ Local<Value> McClass::newCommand(const Arguments& args) {
260260
if (registry) {
261261
auto instance = registry->findCommand(name);
262262
if (instance) {
263-
lse::LegacyScriptEngine::getInstance().getSelf().getLogger().info(
263+
lse::LegacyScriptEngine::getInstance().getSelf().getLogger().warn(
264264
"Runtime command {} already exists, changes will not beapplied except for setOverload!"_tr(name)
265265
);
266266
}

0 commit comments

Comments
 (0)