diff --git a/LiteLoader/Main/BuiltinCommands.cpp b/LiteLoader/Main/BuiltinCommands.cpp index 1ee4359..890062c 100644 --- a/LiteLoader/Main/BuiltinCommands.cpp +++ b/LiteLoader/Main/BuiltinCommands.cpp @@ -378,12 +378,12 @@ public: }; void RegisterCommands() { -// Event::RegCmdEvent::subscribe([](Event::RegCmdEvent ev) { // Register commands -// LLCommand::setup(ev.mCommandRegistry); -// VersionCommand::setup(ev.mCommandRegistry); -// if (LL::globalConfig.enableTpdimCommand) { -// TeleportDimensionCommand::setup(ev.mCommandRegistry); -// } -// return true; -// }); + Event::RegCmdEvent::subscribe([](Event::RegCmdEvent ev) { // Register commands + LLCommand::setup(ev.mCommandRegistry); + VersionCommand::setup(ev.mCommandRegistry); + if (LL::globalConfig.enableTpdimCommand) { + TeleportDimensionCommand::setup(ev.mCommandRegistry); + } + return true; + }); }