Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
fix: fix BlockLegacy::getTypeName offset
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamguxiang committed Jul 16, 2023
1 parent bc7dd8f commit ba63d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LiteLoader/src/llapi/mc/BlockLegacyAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Block* BlockLegacy::toBlock(unsigned short tileData) {
}

string BlockLegacy::getTypeName() {
return dAccess<string, 128>(this);
return dAccess<string, 160>(this);
}

bool BlockLegacy::applyBoneMeal(class BlockSource* a1, class BlockPos const& a2) {
Expand Down

0 comments on commit ba63d7f

Please sign in to comment.