mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-03 04:23:39 +00:00
启用真指令
This commit is contained in:
parent
be445b32d2
commit
65e6bb6dbf
@ -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;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user