diff --git a/CMakeLists.txt b/CMakeLists.txt index 0efff99..f351bf6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") diff --git a/api/commands/CommandNode.h b/api/commands/CommandNode.h index 404826b..941888b 100644 --- a/api/commands/CommandNode.h +++ b/api/commands/CommandNode.h @@ -70,7 +70,7 @@ namespace trapdoor { enum CommandFlag2 : uint8_t { Cheat = 0x0, - NoCheat = 0x40, + NoCheat = 0x80, }; inline const char *CommandFlag2ToStr(CommandFlag2 flag2) { diff --git a/tools/package/pack.py b/tools/package/pack.py index 1da742c..4aa504c 100644 --- a/tools/package/pack.py +++ b/tools/package/pack.py @@ -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')