Skip to content

Commit 82c5291

Browse files
committed
chore: format code
1 parent 8398daf commit 82c5291

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/legacy/api/CommandAPI.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "ll/api/event/server/ServerStartedEvent.h"
1818
#include "ll/api/service/Bedrock.h"
1919
#include "ll/api/service/ServerInfo.h"
20+
#include "lse/Plugin.h"
2021
#include "magic_enum.hpp"
2122
#include "main/Configs.h"
2223
#include "mc/_HeaderOutputPredefine.h"
@@ -43,8 +44,6 @@
4344
#include "mc/world/level/dimension/Dimension.h"
4445
#include "utils/Utils.h"
4546

46-
#include "lse/Plugin.h"
47-
4847
#include <filesystem>
4948
#include <string>
5049
#include <vector>

src/legacy/main/BuiltinCommands.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,8 @@ bool ProcessDebugEngine(const std::string& cmd) {
4848
}
4949

5050
void RegisterDebugCommand() {
51-
auto command = DynamicCommand::createCommand(
52-
LLSE_DEBUG_CMD,
53-
"Debug LegacyScriptEngine",
54-
CommandPermissionLevel::Owner
55-
);
51+
auto command =
52+
DynamicCommand::createCommand(LLSE_DEBUG_CMD, "Debug LegacyScriptEngine", CommandPermissionLevel::Owner);
5653
command->optional("eval", DynamicCommand::ParameterType::RawText);
5754
command->addOverload("eval");
5855
command->setCallback([](DynamicCommand const&,

0 commit comments

Comments
 (0)