We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 869ceff commit cd2c348Copy full SHA for cd2c348
src/legacy/api/GuiAPI.cpp
@@ -9,7 +9,6 @@
9
#include "ll/api/service/ServerInfo.h"
10
#include "mc/world/actor/player/Player.h"
11
12
-#include <cstdlib>
13
#include <iostream>
14
15
//////////////////// Class Definition ////////////////////
src/legacy/main/PythonHelper.cpp
@@ -222,7 +222,7 @@ bool processPythonDebugEngine(const std::string& cmd) {
222
223
bool processConsolePipCmd(const std::string& cmd) {
224
#ifdef LEGACY_SCRIPT_ENGINE_BACKEND_PYTHON
225
- if (ll::string_utils::splitByPattern(cmd, " ")[0] == "pip") {
+ if (cmd == "pip" || cmd.starts_with("pip ")) {
226
PythonHelper::executePipCommand(cmd);
227
return false;
228
} else return true;
0 commit comments