Skip to content

Commit

Permalink
Support 1.20.0.01
Browse files Browse the repository at this point in the history
  • Loading branch information
hhhxiao committed Jun 11, 2023
1 parent 9bc178c commit 34ad47e
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 12 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

# variables
set(TRAPDOOR_VERSION 0.38.0)
set(GAME_VERSION 1.19.81.01)
set(GAME_VERSION 1.20.0.01)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_BUILD_TYPE Release)

Expand Down Expand Up @@ -38,8 +38,6 @@ else ()
endif ()

file(GLOB_RECURSE SRC_FILES_DIR
src/base/Particle.cpp
src/base/Configuration.cpp
src/*/*.cpp
src/*.cpp
)
Expand Down
2 changes: 1 addition & 1 deletion LINK.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://minecraft.azureedge.net/bin-win/bedrock-server-1.19.81.01.zip
https://minecraft.azureedge.net/bin-win/bedrock-server-1.20.0.01.zip
2 changes: 1 addition & 1 deletion SDK-cpp
10 changes: 9 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
### trapdoor-ll-0.37.0-1.19.81.01
### trapdoor-ll-0.38.0-1.20.0.01

#### 更新日志

- 支持1.20.0.01



### trapdoor-ll-0.38.0-1.19.81.01

#### 更新日志

Expand Down
4 changes: 2 additions & 2 deletions metadata
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
0.38.0
1.19.81.01
2.13.0
1.20.0.01
2.14.0
2 changes: 1 addition & 1 deletion run_bds.ps1
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
$Env:TR_ROOT_PATH = 'C:\Users\xhy\dev\trapdoor-ll\src\root\'
& "D:\Games\MC\BDS\bedrock-server-1.19.81.01\bedrock_server_mod.exe"
& "D:\Games\MC\BDS\bedrock-server-1.20.0.01\bedrock_server_mod.exe"
2 changes: 1 addition & 1 deletion src/functions/SimPlayerManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ namespace trapdoor {
/*
* 定时保存备背包数据(同步)
*/
THook(void, "?savePlayers@Level@@UEAAXXZ", Level *self) {
THook(void, "?save@Level@@UEAAXXZ", Level *self) {
trapdoor::mod().getSimPlayerManager().savePlayerInventoryToFile();
original(self);
}
4 changes: 2 additions & 2 deletions src/include/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
#define Trapdoor_VERSION_MINOR 38
#define Trapdoor_VERSION_PATCH 0
#define TRAPDOOR_VERSION 0.38.0
#define GAME_VERSION 1.19.81.01
#define BUILD_TIME 2023-06-11 22:50:31
#define GAME_VERSION 1.20.0.01
#define BUILD_TIME 2023-06-11 22:59:02

0 comments on commit 34ad47e

Please sign in to comment.