diff --git a/src/main/BuiltinCommands.cpp b/src/main/BuiltinCommands.cpp index 76f32b61..886cd81d 100644 --- a/src/main/BuiltinCommands.cpp +++ b/src/main/BuiltinCommands.cpp @@ -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&,