Skip to content

Commit

Permalink
fix: fix debug command
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Jan 23, 2024
1 parent 193f0fb commit 4918313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/BuiltinCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void RegisterDebugCommand() {
"Debug LegacyScriptEngine",
CommandPermissionLevel::Owner
);
command->mandatory("eval", DynamicCommand::ParameterType::RawText);
command->optional("eval", DynamicCommand::ParameterType::RawText);
command->addOverload("eval");
command->setCallback([](DynamicCommand const&,
CommandOrigin const&,
Expand Down

0 comments on commit 4918313

Please sign in to comment.