diff options
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockPlant.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockPlant.h b/src/Blocks/BlockPlant.h index d7c5d9f83..bab34f798 100644 --- a/src/Blocks/BlockPlant.h +++ b/src/Blocks/BlockPlant.h @@ -101,7 +101,7 @@ protected: // If the chunk we are trying to get the block information from is loaded if (a_Chunk.UnboundedRelGetBlock(a_RelX + x, a_RelY, a_RelZ + z, Block, Meta)) { - cBlockHandler * Handler = cBlockInfo::Get(Block).m_Handler; + cBlockHandler * Handler = BlockHandler(Block); // If the block affects growth, add to the adjustment if (Handler->CanSustainPlant(m_BlockType)) |