Skip to content

Commit

Permalink
修复未启用作弊时无法使用的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohengying committed Jul 16, 2021
1 parent b8fda25 commit 27333a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ target_link_libraries(${MOD_API_NAME} ${PROJECT_SOURCE_DIR}/api/lib/detours.lib)
set(TRAPDOOR_VERSION 0.9.51)
set(MCBE_VERSION 1.17.10.04)
set(BETA ON)
set(TEST_NUMBER 1)
set(TEST_NUMBER 2)
add_definitions(-DTD_VERSION="${TRAPDOOR_VERSION}")
add_definitions(-DMC_VERSION="${MCBE_VERSION}")
if (${BETA} STREQUAL "ON")
Expand Down
2 changes: 1 addition & 1 deletion api/commands/CommandNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ namespace trapdoor {

enum CommandFlag2 : uint8_t {
Cheat = 0x0,
NoCheat = 0x40,
NoCheat = 0x80,
};

inline const char *CommandFlag2ToStr(CommandFlag2 flag2) {
Expand Down
2 changes: 1 addition & 1 deletion tools/package/pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
dll_file = dll_files[len(dll_files)-1-idx]

full_dll_file_path = build_dir+'/'+ dll_file
#os.system('upx '+full_dll_file_path)
os.system('upx '+full_dll_file_path)
## check lang and config.json
if not (path.exists(lang_folders) and path.exists(config_file)):
input('can not find land folder or config_file')
Expand Down

0 comments on commit 27333a9

Please sign in to comment.