diff options
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockSponge.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockSponge.h b/src/Blocks/BlockSponge.h index a089bc0d0..0e4865a8e 100644 --- a/src/Blocks/BlockSponge.h +++ b/src/Blocks/BlockSponge.h @@ -29,7 +29,7 @@ private: virtual void OnNeighborChanged(cChunkInterface & a_ChunkInterface, Vector3i a_BlockPos, eBlockFace a_WhichNeighbor) const override { - a_ChunkInterface.DoWithChunkAt(a_BlockPos, [&](cChunk & a_Chunk) { CheckSoaked(a_Chunk.AbsoluteToRelative(a_BlockPos), a_Chunk); return true; }); + a_ChunkInterface.DoWithChunkAt(a_BlockPos, [&](cChunk & a_Chunk) { CheckSoaked(cChunkDef::AbsoluteToRelative(a_BlockPos), a_Chunk); return true; }); } /** Check blocks around the sponge to see if they are water. |