diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-01-18 17:09:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-18 17:09:10 +0100 |
commit | 813176fbd1de6591201a840829cb3f4ab927f754 (patch) | |
tree | 72329bea9c42ee629737a215d7f4e157896ccd46 /src/Blocks/BlockHandler.cpp | |
parent | Fixed horse UI desync when taking saddle out (#5108) (diff) | |
download | cuberite-813176fbd1de6591201a840829cb3f4ab927f754.tar cuberite-813176fbd1de6591201a840829cb3f4ab927f754.tar.gz cuberite-813176fbd1de6591201a840829cb3f4ab927f754.tar.bz2 cuberite-813176fbd1de6591201a840829cb3f4ab927f754.tar.lz cuberite-813176fbd1de6591201a840829cb3f4ab927f754.tar.xz cuberite-813176fbd1de6591201a840829cb3f4ab927f754.tar.zst cuberite-813176fbd1de6591201a840829cb3f4ab927f754.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp index 326f0de27..0e1672ce8 100644 --- a/src/Blocks/BlockHandler.cpp +++ b/src/Blocks/BlockHandler.cpp @@ -488,7 +488,7 @@ void cBlockHandler::OnUpdate( void cBlockHandler::OnNeighborChanged(cChunkInterface & a_ChunkInterface, Vector3i a_BlockPos, eBlockFace a_WhichNeighbor) const { - if (a_ChunkInterface.DoWithChunkAt(a_BlockPos, [&](cChunk & a_Chunk) { return CanBeAt(a_ChunkInterface, a_Chunk.AbsoluteToRelative(a_BlockPos), a_Chunk); })) + if (a_ChunkInterface.DoWithChunkAt(a_BlockPos, [&](cChunk & a_Chunk) { return CanBeAt(a_ChunkInterface, cChunkDef::AbsoluteToRelative(a_BlockPos), a_Chunk); })) { return; } |