Skip to content

Commit

Permalink
Merge pull request #61 from quizhizhe/1.18.2.03
Browse files Browse the repository at this point in the history
support 1.18.2.03
  • Loading branch information
hhhxiao authored Dec 25, 2021
2 parents f699471 + a3be8e8 commit 3ad5ecb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ target_include_directories(${MOD_API_NAME}
target_link_libraries(${MOD_API_NAME} ${PROJECT_SOURCE_DIR}/api/lib/detours.lib)

####################这里是具体功能##########################
set(TRAPDOOR_VERSION 0.9.90)
set(MCBE_VERSION 1.18.1.02)
set(TRAPDOOR_VERSION 0.9.91)
set(MCBE_VERSION 1.18.2.03)
set(BETA OFF)
set(TEST_NUMBER 1)
add_definitions(-DTD_VERSION="${TRAPDOOR_VERSION}")
Expand Down
Binary file modified api/lib/SymHook.h
Binary file not shown.
6 changes: 3 additions & 3 deletions api/world/Biome.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ namespace trapdoor {
using namespace SymHook;

std::string Biome::getBiomeName() {
return "Unknown";
// char *str = reinterpret_cast<char *>(this) + off::BIOME_GET_NAME;
// return std::string(str);
//return "Unknown";
char *str = reinterpret_cast<char *>(this) + off::BIOME_GET_NAME;
return std::string(str);
}

int Biome::getBiomeType() {
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.18.2.03-0.9.91
2021-12-25

- 支持1.18.2.03
- `self`群系显示恢复

# 1.18.1.02-0.9.90
2021-12-05

Expand Down

0 comments on commit 3ad5ecb

Please sign in to comment.