Skip to content

Commit

Permalink
Release 2.16.1 (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamguxiang authored Sep 25, 2023
2 parents 6728024 + 560e039 commit 6a6d39b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LiteLoader/include/liteloader/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#define LITELOADER_VERSION_MAJOR 2
#define LITELOADER_VERSION_MINOR 16
#define LITELOADER_VERSION_REVISION 0
#define LITELOADER_VERSION_REVISION 1
#define LITELOADER_VERSION_COMMIT_SHA UNKNOWN
#define LITELOADER_VERSION_STATUS LITELOADER_VERSION_DEV
#define LITELOADER_VERSION_STATUS_VERSION 0
Expand Down
2 changes: 1 addition & 1 deletion LiteLoader/include/llapi/mc/ChunkSource.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ChunkSource {
#define AFTER_EXTRA
// Add Member There
public:
char filler[0x58];
char filler[0x68];

enum class LoadMode : int {
None = 0x0,
Expand Down
1 change: 1 addition & 0 deletions LiteLoader/include/llapi/mc/ChunkViewSource.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class ChunkViewSource : public ChunkSource {

#define AFTER_EXTRA
// Add Member There
#define ENABLE_VIRTUAL_FAKESYMBOL_CHUNKVIEWSOURCE
public:
char filler[0x188];

Expand Down
4 changes: 2 additions & 2 deletions LiteLoader/src/liteloader/BuiltinBugFix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,8 @@ TInstanceHook(void, "?tickWorld@Player@@UEAAXAEBUTick@@@Z", Player, struct Tick

#include "llapi/mc/ChunkViewSource.hpp"
// fix chunk load and tick - ChunkSource load mode
static_assert(sizeof(ChunkSource) == 0x60); // 96
static_assert(sizeof(ChunkViewSource) == 0x1e8); // 472
static_assert(sizeof(ChunkSource) == 0x70); // 96
static_assert(sizeof(ChunkViewSource) == 0x1f8); // 472

TInstanceHook(std::shared_ptr<class ChunkViewSource>,
"?_createChunkSource@SimulatedPlayer@@MEAA?AV?$shared_ptr@VChunkViewSource@@@std@@AEAVChunkSource@@@Z",
Expand Down

0 comments on commit 6a6d39b

Please sign in to comment.